- Notifications
You must be signed in to change notification settings - Fork243
Open
Description
Environment
node.js: 22.4.1
nuxt: 3.12.4
primevue: 3.53.0
vue: 3.4.34
Reproduction
Here is repo -file-upload-test
On button click you choose file and upload should automatically start.
Describe the bug
I have nuxt3 application.
I send file from nuxt3 frontend to nuxt3 server api.
If i send file approximately larger than 100Mb then i get error while parsing multipart from data.
Additional context
No response
Logs
Error reading multipart form data: Invalid array length at Array.push (<anonymous>) at parse (node_modules/.pnpm/h3@1.12.0/node_modules/h3/dist/index.mjs:196:16) at readMultipartFormData (node_modules/.pnpm/h3@1.12.0/node_modules/h3/dist/index.mjs:469:10) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.handler (server/api/upload.post.ts:4:1) at async node_modules/.pnpm/h3@1.12.0/node_modules/h3/dist/index.mjs:1975:19 at async Object.callAsync (node_modules/.pnpm/unctx@2.3.1/node_modules/unctx/dist/index.mjs:72:16) at async Server.toNodeHandle (node_modules/.pnpm/h3@1.12.0/node_modules/h3/dist/index.mjs:2266:7)```