Telegram 401 Error Unauthorised

Please Solve this error

Check your file check for your bot_id and chat_id may be they have typing mistakes even i had faced the same error during execution of my code just double check your chat id that is your channel id and check if you have used@first in your chat id and check for any typing mistakes in your botid and have you used bot in starting of your bot id

1 Like

I have checked everything everything is right but it is not working.

1 Like

But I have used “-” instead of “@” with chat id and it works. Problem solved

1 Like

HI @1716521903,

Many time people do mistake while typing the 0 (zero) and O in ( because it looks similar.

To resolve the issue - Open the telegram in your laptop and get the access token and paste it in into a sublime text file and increase the font size (Ctrl and +).

Check the screenshot below