-
Notifications
You must be signed in to change notification settings - Fork 16.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Drive Node "Invalid array length" #13837
Comments
Hey @Nick-PDS, We have created an internal ticket to look into this which we will be tracking as "GHC-1151" |
Hey @Nick-PDS, Are you using the |
Reviewing debug info I see I have binaryMode in "memory". I guess I could see where that could become an issue with larger files. Would you suggest it in |
Hey @Nick-PDS, Yeah I would recommend |
I'm having the same issue, but I'm using the queue mode which doesn't support |
Hey @mxmisterdev Queue mode seems to work ok with filesystem now so it could be worth trying it. You could also share the data path between your workers which would help. |
Bug Description
When attempt to upload, in my case, a 200 MB zip file to Google Drive using the Google Drive node I get this stack trace error
Noticed a similar trace error in a different issue using a different node. #12570
NodeApiError: Invalid array length at ExecuteContext.googleApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Drive/v2/transport/index.js:38:15) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js:76:61) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecuteContext.router (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Drive/v2/actions/router.js:58:41) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Drive/v2/GoogleDriveV2.node.js:16:16) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:687:27) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:919:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1252:20
To Reproduce
Using the google drive node, attempt to upload a roughly 200 MB zip file to your drive's root folder.
Expected behavior
Complete the task
Operating System
Ubuntu Linux 22.04
n8n Version
1.82.1 (previously 1.80 was also causing this error)
Node.js Version
20.18.3
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: