You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I included the Origin header to simulate a request from the browser. Even though the domain is the same (origin and destination), I receive a 404 error.
{"code":404,"message":"The requested webhook \"register/\" is not registered.","hint":"Click the 'Test workflow' button on the canvas, then try again. (In test mode, the webhook only works for one call after you click this button)"}
When I remove the Origin header, the webhook works perfectly.
I've already tried adding the Access-Control-Allow-Origin header in every possible way, using * and the domain name, but the error persists.
To Reproduce
Create a POST webhook
Specify the path register/
Add the response header Access-Control-Allow-Origin: *
After some tests, I noticed that the webhook path "register/" (with a trailing slash) seems to be the cause of the issue. When the slash is removed, the webhook works.
Bug Description
I'm trying to consume a webhook. The endpoint is https://domain.com/webhook-test/register/
I included the Origin header to simulate a request from the browser. Even though the domain is the same (origin and destination), I receive a 404 error.
When I remove the Origin header, the webhook works perfectly.
I've already tried adding the Access-Control-Allow-Origin header in every possible way, using * and the domain name, but the error persists.
To Reproduce
Expected behavior
Should return the webhook response.
Operating System
Ubuntu 24.04 running on Docker behind nginx proxy.
n8n Version
1.79.3
Node.js Version
v20.18.2
Database
PostgreSQL
Execution mode
queue
The text was updated successfully, but these errors were encountered: