n8n errors / Config

PayloadTooLargeError: request entity too large

platform: n8n / category: Config / code: 413

Cause

The incoming webhook payload exceeds n8n's configured body size limit, so the HTTP layer rejects it before the workflow runs.

Fix

Set N8N_PAYLOAD_SIZE_MAX to a higher value in MB (e.g. 64) and restart. For large binary uploads also set N8N_DEFAULT_BINARY_DATA_MODE=filesystem. Behind nginx, raise client_max_body_size too. In Docker, add the env var to compose.

Source thread →

Part of the Automation Error Index — n8n errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem