unable to create new updater: invalid getMe request
Closed this issue · 3 comments
Roker2 commented
Hi! I got API key for TG bot, download your bot sample, put my API key. I got this error
unable to create new updater: invalid getMe request
How to resolve it?
PaulSonOfLars commented
Looks like you're not using the right API key, or using it wrong.
Roker2 commented
PaulSonOfLars commented
As a sidenote: os.Getenv
was looking at the environment variable named TOKEN. If i understand right, you replaced "TOKEN" with your token; which would not have worked.