R
Railway12mo 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
Percy12mo ago
Project ID: b2e78250-2e6a-4f98-aab5-31ee91fad152
ogb4541
ogb454112mo ago
b2e78250-2e6a-4f98-aab5-31ee91fad152
Brody
Brody12mo ago
did you update the url that telegram is supposed to send webhooks too?
ogb4541
ogb454112mo ago
Yes It receives the webhook
Brody
Brody12mo 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
ogb454112mo ago
Yup The problem isn’t the web server It’s the update queue
Brody
Brody12mo ago
what status code did you get when you called the webhook endpoint yourself?
ogb4541
ogb454112mo ago
200 Like it loads the update queue but nothing happens But when I run on local system Everything runs ok
Brody
Brody12mo ago
that's sounds a bit more like a code issue? are there any error logs?
ogb4541
ogb454112mo ago
There’s also no error It’s just not working
Brody
Brody12mo 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