Search code examples
httphttp-posttelegramtelegram-botifttt

Error 404 while accessing api method on telegram bot


I just created a bot of telegram to finish a task for the school regarding the integration of ifttt and telegram.

My problem is that trying a browser to use a method of Telegram api it returned to me the following string: {"ok": false, "error_code": 404, "description": "Not Found"}

I use this link to try to access to my bot: https://api.telegram.org/botToken/getUpdates

The bot's token is valid

You can help you solve the problem?


Solution

  • You need to add the word bot before the botToken.

    Token: xxx

    Resulting url to invoke: https://api.telegram.org/botXXX/getMe