On Queue mode workflow executed with the same params and return flaky results

Describe the problem/error/question

We are working with n8n on self-hosted version in a queue mode with 4 workers. recently we encountered in an issue which workflow executed and return difference results in 2 difference executions which has the same input.
We developed a custom node which execute an api request to one of our api’s. once we executing the workflow in a test mode with the same parameters it is working. but on real executions we get the results with 0 items.

What is the error message (if any)?

Please share your workflow

Information on your n8n setup

  • **n8n version:1.31.0
  • **Database (default: SQLite):postgres
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):queue mode
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):docker
  • Operating system:

Hey @mtubul

A test execution would run on the main instance n8n and any production runs would happen on the workers. It sounds like the results are different when the worker handles the job.

I would start by making sure the workers and main instance are using the same version of n8n and making sure they have the same node version installed.

Hi @Jon

i just checked and both workers and main instance has the same n8n version and node version.

Btw i have a mistake in the n8n version. i am using 1.33.0