Webhook error in production 404 "Could not find workflow with id XXXXXXXXX"

Describe the problem/error/question

I have created a workflow with only 1 node which is a webhook, configured with POST method.

It works well in test.

But, as soon as it is in produciton, there is a 404 error with the following message :

{“code”:404,“message”:“Could not find workflow with id “EkEWc8TBrSlp4fZ9””}

I have verified that it correspond well to my workflow ID.

What is the error message (if any)?

{“code”:404,“message”:“Could not find workflow with id “EkEWc8TBrSlp4fZ9””}

Please share your workflow

Information on your n8n setup

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

Hi! Have you activated your workflow? Your workflow needs to be in active mode for the webhook to work in production mode.

Yes, the workflow is activated :

We found the solution.
It was related to the parameter EXECUTIONS_MODE (Configuring queue mode | n8n Docs)

This parameter was set to QUEUE. It was waiting for workers containers to execute produciton workflows, but there were no workers container here.

Changing this parameter to REGULAR solved the problem.

This topic can be closed.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.