论坛

Please or 注册 to create posts and topics.

绑定机器人出错 {"ok":false,"error_code":404,"description":"Not Found"}

{"ok":false,"error_code":404,"description":"Not Found"}



这个是一个非常通用的错误, 就是要找的资源不存在。 不过通常网友看到这个是因为犯了一个普遍的错误,就是网址中的 bot 漏了

我们来看看官方的说明

Making requests

All queries to the Telegram Bot API must be served over HTTPS and need to be presented in this form: https://api.telegram.org/bot<token>/METHOD_NAME. Like this for example:

https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/getMe

所以, 要修复也很简单,在bot 加回去就可以了