Invalid array length uploading 700MB file to Dropbox

Describe the problem/error/question

I get an “Invalid array length” error when trying to upload a large zip file upload to dropbox. I’ve already set the following env variables:
N8N_DEFAULT_BINARY_DATA_MODE: filesystem
N8N_PAYLOAD_SIZE_MAX: 1024

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

Stack trace

RangeError: Invalid array length at Function.keys () at ExecuteContext.dropboxApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Dropbox/GenericFunctions.js:18:17) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Dropbox/Dropbox.node.js:761:79) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:660:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:891:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1224:20

Information on your n8n setup

  • n8n version: 1.81.4
  • Database (default: SQLite): Postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Synology NAS

Looks like this has already been reported as a bug/issue here.

If this answers your question, please mark this post as the solution.

1 Like

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