Error 404 while accessing api method on telegram bot

Francesco Rossetti picture Francesco Rossetti · Dec 15, 2016 · Viewed 20.2k times · Source

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?

Answer

user3691431 picture user3691431 · Jan 4, 2017

You need to add the word bot before the botToken.

Token: xxx

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