Hey everyone, I’m running into an error in my N8N workflow: ‘Bad request: bad webhook: An HTTPS URL must be provided for webhook.’ I tried using ngrok to expose my local webhook to the internet, but I’m still unable to figure it out. Not sure if I’m setting up the tunnel correctly. Does anyone know how to fix this? Any guidance would be greatly appreciated!
I think you need to update your WEBHOOK_URL
to https://abcd1234.ngrok.io
in the n8n configuration to access the tunnel properly.
- If you’re using Docker , add it as an environment variable.
- If you’re using npx , start n8n like this:
set WEBHOOK_URL=https://abcd1234.ngrok.io && npx n8n
This tells n8n to use the public HTTPS URL provided by ngrok for its webhooks.