I’m trying to setup alerts from Grafana Cloud to a Telegram bot.
I’m following the instructions in How to integrate Grafana Alerting and Telegram | Grafana Labs
I created a bot, added it to a Telegram group and fetched the chat id (a large negative number), fed the API token I received from Telegram’s @BotFather (something that looks like: NNNNNNNNNN:HEXX_MixOfUpperAndLowerCaseAndDigits
) and the chat id fetched with curl https://api.telegram.org/botNNNNNNNNNN:HEXX_MixOfUpperAndLowerCaseAndDigits/getUpdates
But when I click the “Test” button I get an error pop-up with
Failed to send test alert.: failed to send telegram message: webhook response status 400 Bad Request
How can I troubleshoot this to understand what am I missing?
Thank you.