Current versus Expected behavior:
The Telegram bot hosted on Vercel should respond to messages, but it doesn’t despite having no error logs. The webhook is set up correctly, and getWebhookInfo
confirms that it is active. The bot still does not respond to incoming messages.
Code, configuration, and steps that reproduce this issue:
- I’ve set up the bot using the correct environment variables (like
TELEGRAM_BOT_TOKEN
,WEBHOOK_URL
, andMONGODB_URI
). - The deployment and webhook configuration are confirmed.
- There are no visible errors in the Vercel logs.
- The bot should respond to messages sent via Telegram, but there is no response.
Project information:
txt
Copy code
Deployment URL or Custom Domain: https://llm-t-b-turbo-lkxb.vercel.app/
Environment (local, preview, production): preview, production
Project Framework: Python (No framework preset)
Build Settings:
Framework Preset: Other
Build Command (if not default): None
Output Directory (if not default): None
Install Command (if not default): pip install -r requirements.txt
Node/Runtime Version: Python 3.x (latest supported by Vercel)
Package Manager: pip
Relevant Packages: python-telegram-bot, pymongo
Can anyone help identify why the bot isn’t responding to Telegram messages despite no errors in the logs?