Multiple request error

Describe the problem/error/question:

When I use this workflow, to respond to chat queries, in test mode everything runs fine.

However as soon as I try and run it in production mode 3 requests come through with the first one being successful and the next 2 presenting as errors leading to an error response on the chatbox page. These errors of course make the automation unusable.

I am wondering how to stop multiple requests from coming through the workflow to stop the 2 errors.

What is the error message (if any)?

The error message says “Invalid ‘thread_id’: ‘null’. Expected an ID that begins with ‘thread’.” because the first one is going down the false path but the other 2 down the true so it cant set a thread_ID as it isn’t created at that point.

Please share your workflow


Share the output returned by the last node

Information on your n8n setup

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

can you show me the type of request tht are failing and the type of request tht r success? like wht is the difference

There is no difference with the request. I can put 1 request into the chatbox in test mode and it will run fine but put the same request when in production mode once and it will run 3 times for some reason and succeed the first and fails the other 2 and so doesnt output a response

So u confirm tht the 3 production request with 2 failed and 1 succeed are all the same data? Are you sure? Like identically the same?

Yes it comes from a chat box from the front end website and the same request is sent through so it is the exact same data running through the workflow

then is it possible if you show us? because this is a thing with webhook in production and in test mode

where in test mode, you only listen(activate) to it when u want to, while when it’s on production mode, it listens everything

for example, a whatsapp webhook, for 1 message, it can trigger the webhook 4 times, because it will trigger for every event happening in the message (message sent, delivered, read, deleted) etc.

so im guessing tht most likely its also the same case with u

so if u can kindly go to the execution tab and maybe share with us the failed execution data and the success one on the webhook trigger node, then maybe we can help u better


This is the failed output for the webhook in production


this is the successful output on the webhook in production


this is also an output for a test run just in case it helps

i have also added a respond to webhook node i don’t know why it has that message under the respond box

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