Bad Request: bad webhook: An HTTPS URL must be provided

I’m trying to connect my Telegram bot to n8n, but when I activate the Telegram Trigger node, I get this error:

Bad Request: bad webhook: An HTTPS URL must be provided

I’m running n8n locally on my Windows machine at http://localhost:5678.
I understand Telegram requires a webhook URL that starts with HTTPS.

Can someone please guide me on how to fix this?

1 Like

Hi AliNaraghiA welcome to n8n community :n8n:

You can use Cloudflare Tunnel for this issue. Please learn more through the following reference:

1 Like

Hi @AliNaraghiA

Your local computer isn’t accessible from the internet, so Telegram can’t connect to it. To use Telegram or any external service, you’ll need to run n8n on a web server with a publicly accessible HTTPS URL.

Best,

Robert Breen