I guess @mochikoAsTech was right after all.
I was using a business account and my user ID was not displayed.
I don't know why the accounts were not linked, but I was able to verify the user ID by logging in with my LINE account.
I will close this case.
@mochikoAsTech Thanks for the sound advice.
Ah. I see. You are right, you may be logged in with your business account. Therefore, you need to link your LINE account to your business account.
If you follow the procedure as described in step 7, you will see the message "You are already registered with a LINE account.
Linking your LINE account to your business account - LINE Developers
The procedure states "If you are trying to link your business account to a LINE account that is already linked to your LINE account", but this is the first time I have created a business account and I do not recall having a LINE account already linked to my business account.
How can I find out which account it is linked to?
こんにちは。
LINE Developersコンソールには、 ・LINEアカウント ・ビジネスアカウント でログインできるのですが、ogawaさんはビジネスアカウントでログインしていませんか? https://developers.line.biz/ja/docs/line-developers-console/login-account/
ビジネスアカウントだと「あなたのユーザーID」は表示されません。 LINEアカウントでログインするか、いまログインしているビジネスアカウントにLINEアカウントを連携してください。 https://developers.line.biz/ja/docs/line-developers-console/login-account/#link-business-account-with-line-account
@ksyt Thanks for the advice.
Very sadly, only the Assertion Signing Key is listed under the Channel secret, but no ID. Below that, there is only Delete this channel and Delete button.
IDは https://developers.line.biz/console/channel/{あなたのチャンネル番号} に書かれています。 Channel secretが書かれているページの一番下に書かれているはずです。
あるいは、webhookにユーザーのIDが書かれています。 https://developers.line.biz/ja/reference/messaging-api/#source-user