hi, i am using a virtual server to run n8n app on it.
i want to upload +1gb mp4 file to youtube with node “download file” of google play but in this node i get this error:
Cannot create a string longer than 0x1fffffe8 characters
cause the mp4 file is large.
how can i solve it?
the info:
n8n version
1.108.2 (Self Hosted)
Stack trace
Error: Cannot create a string longer than 0x1fffffe8 characters
at Object.slice (node:buffer:685:37)
at Buffer.toString (node:buffer:864:14)
at BinaryDataService.store (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/binary-data/binary-data.service.ts:113:29)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at setBinaryDataBuffer (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/binary-helper-functions.ts:119:9)
at prepareBinaryData (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/binary-helper-functions.ts:271:9)
at Object.prepareBinaryData (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/binary-helper-functions.ts:288:3)
at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_1af219c3f47f2a1223ec4ccec249a974/node_modules/n8n-nodes-base/nodes/Google/Drive/v2/actions/file/download.operation.ts:276:43)
at ExecuteContext.router (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_1af219c3f47f2a1223ec4ccec249a974/node_modules/n8n-nodes-base/nodes/Google/Drive/v2/actions/router.ts:29:26)
at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_1af219c3f47f2a1223ec4ccec249a974/node_modules/n8n-nodes-base/nodes/Google/Drive/v2/GoogleDriveV2.node.ts:25:10)
