0

My telegram bot does not work! I did getWebhookInfo,

Response :

{
  "ok": true,
  "result": {
    "url": "**secret**",
    "has_custom_certificate": false,
    "pending_update_count": 10,
    "last_error_date": 1535344752,
    "last_error_message": "Wrong response from the webhook: 302 Found",
    "max_connections": 40
  }
}
Ru Chern Chong
  • 3,692
  • 13
  • 33
  • 43
FATF
  • 3
  • 1
  • 4

1 Answers1

0

your webserver sends the http status (previosly "Moved Temporarily") likely because the url to the script has changed... check the url, maybe it has changed. the bot api will not follow redirects of any kind (mainly because of security reasons)

Thorbijoern
  • 356
  • 2
  • 11