电报机器人不起作用:来自webhook的错误响应:302 Found

问题描述 投票:0回答:1

我的电报机器人不起作用!我做了getWebhookInfo,回复:

{ "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 } }

php telegram telegram-webhook
1个回答
0
投票

您的网络服务器可能会发送http状态(通常称为“暂时移动”),因为脚本的网址已更改...检查网址,可能已更改。 bot api不会遵循任何类型的重定向(主要是出于安全原因)

© www.soinside.com 2019 - 2024. All rights reserved.