R
Railway7mo ago
ogb4541

python telegram bot

Hello please I deployed my quart app which is a telegram bot .the bot receives web hook updates from telegram and is meant to insert the update in an update queue but it doesn’t work ,when I send commands that should work nothing happens, when I run this same app on my local system it works perfect
11 Replies
Percy
Percy7mo ago
Project ID: b2e78250-2e6a-4f98-aab5-31ee91fad152
ogb4541
ogb45417mo ago
b2e78250-2e6a-4f98-aab5-31ee91fad152
Brody
Brody7mo ago
did you update the url that telegram is supposed to send webhooks too?
ogb4541
ogb45417mo ago
Yes It receives the webhook
Brody
Brody7mo ago
have you tried calling the webhook yourself with postman with some dummy data to see if you're able to call the webhook?
ogb4541
ogb45417mo ago
Yup The problem isn’t the web server It’s the update queue
Brody
Brody7mo ago
what status code did you get when you called the webhook endpoint yourself?
ogb4541
ogb45417mo ago
200 Like it loads the update queue but nothing happens But when I run on local system Everything runs ok
Brody
Brody7mo ago
that's sounds a bit more like a code issue? are there any error logs?
ogb4541
ogb45417mo ago
There’s also no error It’s just not working
Brody
Brody7mo ago
my recommendation would be to add more verbose debug logging your your application in hopes of finding out what piece of code isn't working as intended
Want results from more Discord servers?
Add your server
More Posts