Telegram alert error 404


how can i get the outcome??

Please check that there is no typo in the telegram chat id or bot id. python is case sensitive.

i did but the outcome is same everytime

Hi @apekshak2004,

Telegram bot id should start with bot. You are using BOT in your conf file.

telegram_bot_id = "botXXXX"  # This is the bot ID of the created Telegram Bot. Paste after bot text.

Do let me know in case you need further assistance.


its been giving the same output from past 2 days

Hi @apekshak2004,

Can you share the screenshot of your bot id and channel id from your telegram app ? There must be some typo in the code.

Hi @apekshak2004,

You have forgot / in “/sendMessage” . Check the send_telegram_message function.

im sorry i didnt get what u meant?

Please check chat ID & BOT ID carefully in conf.py
telegram_chat_id = “@XXXX” # This is the channel ID of the created Telegram channel. Paste after @ symbol.
telegram_bot_id = “botXXXX” # This is the bot ID of the created Telegram Bot. Paste after bot text.

Hi @apekshak2004,

But in your code, you have not added / (slash).

thank you for your help the problem is solved :slight_smile: