The requested webhook is not registered

{“code”:404,“message”:“The requested webhook “GET c27f8fd9-a3e4-43bf-a1a4-a6b080b5d4a8” is not registered.”,“hint”:“Click the ‘Execute workflow’ button on the canvas, then try again. (In test mode, the webhook only works for one call after you click this button)”,“stack”:“ResponseError: The requested webhook “GET c27f8fd9-a3e4-43bf-a1a4-a6b080b5d4a8” is not registered.\n at TestWebhooks.callTestWebhook (/usr/lib/node_modules/n8n/dist/src/TestWebhooks.js:25:23)\n at /usr/lib/node_modules/n8n/dist/src/Server.js:1387:52\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:137:13)\n at Route.dispatch (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:112:3)\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at /usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:281:22\n at param (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:354:14)\n at param (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:365:14)\n at Function.process_params (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:410:3)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:275:10)\n at /usr/lib/node_modules/n8n/dist/src/Server.js:288:13\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:317:13)\n at /usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:335:12)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:275:10)\n at /usr/lib/node_modules/n8n/dist/src/Server.js:280:17\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:317:13)\n at /usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:335:12)”}

Did you do what the hint suggest?

Click the ‘Execute workflow’ button on the canvas, then try again. (In test mode, the webhook only works for one call after you click this button)

Hey @zied_hamzaoui,

Is your Webhook listening for a GET request or a POST request?

my request is POST

The browser is making a GET request to your Webhook. Since, your Webhook is listening for a POST request, it doesn’t get triggered and you get an error. If you want to test it out, I suggest you use a tool like Postman.

Also, looking at the webhook URL, it seems like you’re using the PRODUCTION URL instead of the TEST URL. If you’re testing and executing the workflow manually, you will have to use the TEST URL.

2 Likes