Telegram output issue

Error code 404
Description : unauthorized

![image|375x500](upload://mbrXaOYDeszcfeKpvuYkNz7NClr.jp eg)

Hi @vazxavier91,
Could you provide more details on what code you were running and what all steps you have completed? Also, if possible attach the screenshot of the terminal.

I have attached snaps

Hi @vazxavier91,

There is a typo error in your code. It should be sendMessage not the sendMessages

url = "https://api.telegram.org/" + conf.telegram_bot_id + "/sendMessage"

Error code: 400

Hi @vazxavier91,

Check this thread Error 404 Not Found for Telegram chat bot

Also, you first need to send a message to the bot before the bot can send messages to you.

I replaced chat Id with Channel link , before I mentioned id which I have got it from botFather.

0MikXM5XIvDCqB5ROmsZFChWh.jpeg)

Now it seems that you have received the message.

Do let me know in case you need any other information.

Thanks, @rahul.singh1

1 Like