DEV Community

Sajjad hasan
Sajjad hasan

Posted on AI-assisted

How to Fix n8n Webhook 404: "The requested webhook is not registered"

If your external service or curl call hits an n8n Webhook node and gets back:

{
  "code": 404,
  "message": "The requested webhook \"POST health-ping-demo\" is not registered."
}
Enter fullscreen mode Exit fullscreen mode

n8n is telling you that no active listener matches both the path and the HTTP method.

Minimal Synthetic Reproduction

Set up a 1-node workflow with a Webhook node (HTTP Method: POST, Path: health-ping-demo).

  1. Test URL without listening:
   curl -i -X POST https://n8n.example.com/webhook-test/health-ping-demo \
     -H "Content-Type: application/json" \
     -d '{"source":"synthetic-check","id":101}'
Enter fullscreen mode Exit fullscreen mode

Expected result: 404 Not Found. /webhook-test/ only listens immediately after you click Execute Workflow / Listen for test event, and unregisters after one request (or timeout).

  1. Production URL while inactive:
   curl -i -X POST https://n8n.example.com/webhook/health-ping-demo \
     -H "Content-Type: application/json" \
     -d '{"source":"synthetic-check","id":101}'
Enter fullscreen mode Exit fullscreen mode

Expected result: 404 Not Found until the workflow is toggled Active.

  1. Method mismatch: Sending GET to a POST webhook returns 404 even when the workflow is active.

The 5-Point Fix Checklist

  1. Use /webhook/... (Production URL), not /webhook-test/..., for external apps.
  2. Toggle the workflow Active in the top-right corner.
  3. Match the HTTP Method (GET vs POST) between sender and Webhook node.
  4. On self-hosted Docker/reverse-proxy setups, set WEBHOOK_URL (or N8N_WEBHOOK_URL on newer versions) and forward Host, X-Forwarded-Proto, and X-Forwarded-For.
  5. On imported workflows or stale Cloud routes, toggle Inactive -> Save -> Active to force re-registration.

Originally published at OperantSolo.

Top comments (0)