Skip to content
Node.js and Python3 min read

n8n webhook not working

The requested webhook "POST my-path" is not registered.

Short answer

Most of the time you're calling the test URL (webhook-test) instead of the production URL (webhook), the workflow isn't active, or n8n doesn't know its public address and hands out localhost links. Activate the workflow, use the Production URL, set WEBHOOK_URL to your public https address and restart n8n.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Test URL vs production URL
  2. Causes
  3. How to fix it
  4. Prevention
  5. On ArabyHost

An n8n Webhook node receives HTTP requests from outside services (a store, a form, Telegram, GitHub) and runs the workflow with them. When it stops receiving, the problem is almost always one of three things: the URL you’re using, the workflow’s state, or the public address n8n thinks it has. The clearest symptom is a 404 response saying the webhook is not registered.

Test URL vs production URL

Test URL Production URL
Format https://n8n.example.com/webhook-test/orders https://n8n.example.com/webhook/orders
When it works After clicking Listen for test event or Execute workflow, for one call only Whenever the workflow is active
Where results appear Directly on the editor canvas In the Executions list

Causes

  • The test URL was pasted into the external service permanently.
  • The workflow isn’t active, or was edited and not saved and reactivated.
  • HTTP method mismatch: the node expects GET and the service sends POST, which also produces not registered.
  • WEBHOOK_URL isn’t set, so n8n shows links like http://localhost:5678/webhook/..., and trigger nodes (Telegram Trigger, for example) register that unreachable address with the service.
  • The address is http rather than https, and the sender refuses it.
  • Two workflows use the same path and method.
  • Respond is set to Using 'Respond to Webhook' Node but execution never reaches that node, so the caller waits until it times out.
  • A firewall rejected the request (403), or the n8n app itself is down (502 or 503).

How to fix it

  1. Copy the production URL from the Webhook node’s Production URL tab and put it in the external service.
  2. Activate the workflow with the toggle at the top of the editor (Active, or Publish in newer releases).
  3. Call it yourself with curl:
curl -i -X POST "https://n8n.example.com/webhook/orders" \
  -H "Content-Type: application/json" \
  -d '{"order_id": 123}'
  1. Read the status code:
    • 200: the webhook works; the problem is in the sending service or the URL saved there.
    • 404 with is not registered: the workflow is inactive, or the path or method differs (about 404 errors).
    • 403: a web application firewall blocked the request; see ModSecurity 403 block.
    • 502 or 503: n8n itself isn’t running; see Passenger app error.
  2. Set the public address in n8n’s environment, with the trailing slash:
WEBHOOK_URL=https://n8n.example.com/
  1. Restart n8n, then deactivate and reactivate every workflow that starts with a trigger node so it registers the correct URL with the outside service.
  2. Open Executions and look for failed runs; the error names the node where it stopped.

Prevention

  • Use the test URL only while building; give external services the production URL.
  • Make WEBHOOK_URL a permanent part of how n8n starts, not a one-off tweak.
  • Protect webhooks with the node’s Authentication option (Header Auth, for example): anyone who knows the URL can trigger the workflow.
  • Check Executions after big changes, and set an Error Workflow so failures notify you.

On ArabyHost

n8n runs on the AI plans as a Node.js app created from Setup Node.js App in cPanel (served through Phusion Passenger). Add WEBHOOK_URL under Environment variables with your public https address (the free SSL certificate is issued for the domain automatically), then click Restart on the same page. The full walkthrough is in the n8n install guide, and what n8n needs to run is covered in n8n hosting. If some requests are rejected with 403, support can review the ModSecurity or Imunify360 block, and the Araby AI assistant in the panel reads the error logs and explains why the app stopped.

FAQ

Why does the test URL work but the production URL doesn't?

The production URL only responds while the workflow is active. Even when it works, its data doesn't appear on the editor canvas the way a test run does; it shows up under Executions, which is why people think nothing arrived.

Why do my n8n webhook URLs show localhost:5678?

n8n doesn't know its public address. Set WEBHOOK_URL to the address people reach, such as https://n8n.example.com/, restart n8n, then deactivate and reactivate workflows that start with a trigger node.

Does the webhook URL have to be https?

In practice, yes. Many services, Telegram included, only deliver to https endpoints, and webhook payloads usually carry private data that should be encrypted in transit.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.