// guides · n8n error index

n8n binary data in queue mode: worker says File not found? 6 tests

Why an n8n worker can't find a file the main instance received: filesystem binary mode without a shared folder. What N8N_DEFAULT_BINARY_DATA_MODE does in queue mode, the database size limit, and the fix, from 6 real runs on n8n 2.43.7.

Updated 2026-10-23 · about 10 minutes

Still stuck after these steps? Paste your exact n8n error and we'll reproduce it and email you the fix, free →

Steps

  1. Check which binary data mode you set

    Look for N8N_DEFAULT_BINARY_DATA_MODE on both the main instance and every worker. In n8n 2.43.7, if it is not set and EXECUTIONS_MODE=queue, n8n stores files in the database, which every worker can read. Many older Docker guides set it to filesystem, and that is what broke our worker.

  2. If it says filesystem, share the folder or remove it

    With filesystem, the main instance writes an uploaded file to its own disk and the worker looks for it on its disk. Our worker with its own storage folder failed with File not found and the webhook answered Error in workflow. Either delete the variable (database mode) or mount the same volume at the same path on main and workers (in Docker, the same volume on /home/node/.n8n, or set N8N_STORAGE_PATH to one shared folder).

  3. Restart main and workers together

    The mode is read at start-up. Restart every n8n process after the change. Files from executions that already ran stay where they were written; in our test a worker set to filesystem still read a file the main instance had stored in the database.

  4. Raise the database limit for big files

    Database mode caps each file at 512 MB by default. Over the cap, the main instance logged Failed to write binary file with exceeds the max size limit of 1 MB set for `database` mode (we set the cap to 1 MB to test it) and the webhook answered Workflow Webhook Error: Workflow could not be started!. Set N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE (in MB, up to 1024), or use S3 mode, which needs an n8n Enterprise license.

  5. Move off in-memory mode

    N8N_DEFAULT_BINARY_DATA_MODE=default keeps files in memory. It worked in queue mode in our run, but n8n 2.43.7 prints a warning that it will be removed in a future version. Switch to database or filesystem with a shared folder.

What we ran

On 23 October 2026 we started n8n 2.43.7 in queue mode: one main instance (n8n start), one worker (n8n worker), Redis 8.0.2 and a shared SQLite database. The workflow was a Webhook (POST, respond when the last node finishes) followed by Extract from File (CSV). We uploaded a small CSV with curl -F "data=@small.csv" http://localhost:5690/webhook/bin-in. To copy a typical Docker setup where main and worker are separate containers, the worker got its own storage folder unless the row says shared.

Setup (main and worker)What the webhook answeredResult
Nothing set (n8n picks database mode in queue mode), worker has its own folderThe 2 CSV rowsWorked; the file was stored in the binary_data table
N8N_DEFAULT_BINARY_DATA_MODE=filesystem on both, worker has its own folder{"message":"Error in workflow"}Failed: Extract from File on the worker stopped with File not found
filesystem on both, shared folderThe 2 CSV rowsWorked
Main left on database, worker set to filesystem with its own folderThe 2 CSV rowsWorked: the worker read the file from the database, where the main instance wrote it
Database mode with N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE=1, 2.13 MB CSVWorkflow Webhook Error: Workflow could not be started!Failed on the main instance: Failed to write binary file "big.csv" (…) because its size of 2.13 MB exceeds the max size limit of 1 MB set for `database` mode.
N8N_DEFAULT_BINARY_DATA_MODE=default (in memory) on bothThe 2 CSV rowsWorked, with the warning In-memory binary data storage (`default` mode) will be removed in a future version.

The failing run is the confusing one: the worker logged Worker started execution and Worker finished execution like a normal run, and nothing on the main instance looked wrong. The only clue is the execution itself, where Extract from File shows File not found. The same happens with any node that reads a file another process received, such as a Webhook or Form upload followed by Extract from File, Google Drive upload or an HTTP Request that sends the file.

Settings that worked

# main and every worker: leave the mode unset (database in queue mode)
EXECUTIONS_MODE=queue
QUEUE_BULL_REDIS_HOST=redis
N8N_ENCRYPTION_KEY=the-same-key-everywhere
# optional, in MB, default 512, max 1024
N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE=1024

# or keep filesystem mode, but give main and workers the same volume
N8N_DEFAULT_BINARY_DATA_MODE=filesystem
# docker compose: the same named volume on every n8n service
#   volumes: [ "n8n_data:/home/node/.n8n" ]

Good to know

What we didn't test

FAQ

Why does my n8n worker say File not found in queue mode?

The file was received by the main instance and saved to its own disk because N8N_DEFAULT_BINARY_DATA_MODE is filesystem, and the worker runs on another disk. Remove the variable so n8n uses database mode in queue mode, or mount the same folder on main and workers.

What binary data mode does n8n use in queue mode?

In n8n 2.43.7, when N8N_DEFAULT_BINARY_DATA_MODE is not set and EXECUTIONS_MODE is queue, n8n stores binary data in the database. Outside queue mode the default is filesystem.

Does n8n filesystem binary mode work with workers?

Yes, if main and every worker see the same folder. In our run it worked with a shared folder and failed with File not found when the worker had its own.

What is the file size limit for n8n database binary mode?

512 MB per file by default. Set N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE in MB, up to 1024. Over the limit, the main instance logs 'exceeds the max size limit' and a webhook answers 'Workflow could not be started!'.

Do I need S3 for n8n queue mode?

No. Database mode works with workers without any license. S3 and Azure storage need an n8n Enterprise license.

Related guides

New guides

Still stuck on your n8n error?

Paste the exact error and say what the workflow should do. We reproduce it on a real n8n install and email you the fix or a working workflow, usually within 24h. Free while we're in beta.

We'll only email you about your error and TaskToAgent.