959 B
959 B
#n8n #telegram
Summary:
- When I configure Telegram Trigger, I got an error message: Telegram Trigger: Bad Request: bad webhook: An HTTPS URL must be provided for webhook
- I search ChatGPT and got solved by this solution:
- Steps to Resolve:
-
Ensure HTTPS Accessibility:
- Verify that your n8n instance is accessible via an HTTPS URL. If you're running n8n locally or without HTTPS, Telegram's webhook setup will fail.
-
Configure Environment Variables:
-
Set the
WEBHOOK_URLenvironment variable to your HTTPS URL. For example:ini
CopyEdit
WEBHOOK_URL=https://your-domain.com/ -
This informs n8n to generate webhook URLs using HTTPS.
-
I added environment variable in Docker Desktop: WEBHOOK_URL https://n8n.cpolar.top
