You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment (please complete the following information):
OS: Ubuntu Linux 20.04
n8n Version 0.169.0
Database system MySQL (problem also persisted in SQLite)
Operation mode own
Using Docker Image
Additional context
In the docker image maxBodyLength and maxContentLength in /usr/local/lib/node_modules/n8n/node_modules/axios/lib/defaults.js are both set to -1 which would imply unlimited, however that fails with files over 10MB. If -1 is replaced with a number larger than 1024 * 1024 * [max expected file size] it works with files over 10MB up to the max expected file size.
The text was updated successfully, but these errors were encountered:
This is something we are aware of, At the moment the workaround is to use Axios from a function node to upload the data which isn't ideal and can get tricky depending on what auth is needed.
Describe the bug
When posting a binary larger than 10MB the node will fail with the error "Request body larger than maxBodyLength limit"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
File Uploads
Environment (please complete the following information):
Additional context
In the docker image maxBodyLength and maxContentLength in /usr/local/lib/node_modules/n8n/node_modules/axios/lib/defaults.js are both set to -1 which would imply unlimited, however that fails with files over 10MB. If -1 is replaced with a number larger than 1024 * 1024 * [max expected file size] it works with files over 10MB up to the max expected file size.
The text was updated successfully, but these errors were encountered: