🪲 Workflow Not Active (when it is) Bug

Hello

I have a number of workflow spread across 3 instance of n8n, I’m pushing from my dev instance to my staging instance using the n8n API. When every I update the workflow with the API, I get the following bug when I try to execute.

{
    "code": 404,
    "message": "The requested webhook \"GET b336b9f4-9671-43ca-adc5-9ca0451c87b8\" is not registered.",
    "hint": "The workflow must be active for a production URL to run successfully. You can activate the workflow using the toggle in the top-right of the editor. Note that unlike test URL calls, production URL calls aren't shown on the canvas (only in the executions list)"
}

Now I’ve toggled on and off multiple times, and ensure the path is correct, but I just keep getting the same error.

I’m on self hosts, on the latest version.

The only way I can fix it is to manually change a value on the webhook and then change it back in staging, which seems to not be the best way forward in this set up and ideally the API for handle it.

Any help would be great! Thanks!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hello,

Usually this error comes when a “Test URL” is used by a webhook instead of the “Production URL”. The Test URL can only be used when listening for test events, not for active workflows.

Could you confirm that the webhook caller is using the URL that is shown by the “Production URL” like here:

I hope this helps

1 Like