Skip to content
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

Uploading a larger quantity of images results in a Multer error #173

Open
dxf opened this issue Nov 14, 2022 · 1 comment
Open

Uploading a larger quantity of images results in a Multer error #173

dxf opened this issue Nov 14, 2022 · 1 comment

Comments

@dxf
Copy link

dxf commented Nov 14, 2022

Running the latest version of the Docker container on macOS Monterey.

I'm able to upload smaller batches of files (5 is my go to currently) but anything above about 12 seems to bug out.

Log:

MulterError: Unexpected field
    at wrappedFileFilter (/pisignage-server/node_modules/multer/index.js:40:19)
    at Multipart.<anonymous> (/pisignage-server/node_modules/multer/lib/make-middleware.js:107:7)
    at Multipart.emit (events.js:315:20)
    at HeaderParser.cb (/pisignage-server/node_modules/busboy/lib/types/multipart.js:358:14)
    at HeaderParser.push (/pisignage-server/node_modules/busboy/lib/types/multipart.js:162:20)
    at SBMH.ssCb [as _cb] (/pisignage-server/node_modules/busboy/lib/types/multipart.js:394:37)
    at feed (/pisignage-server/node_modules/streamsearch/lib/sbmh.js:248:10)
    at SBMH.push (/pisignage-server/node_modules/streamsearch/lib/sbmh.js:104:16)
    at Multipart._write (/pisignage-server/node_modules/busboy/lib/types/multipart.js:567:19)
    at writeOrBuffer (internal/streams/writable.js:358:12)
    at Multipart.Writable.write (internal/streams/writable.js:303:10)
    at IncomingMessage.ondata (internal/streams/readable.js:719:22)
    at IncomingMessage.emit (events.js:315:20)
    at IncomingMessage.Readable.read (internal/streams/readable.js:519:10)
    at flow (internal/streams/readable.js:992:34)
    at Multipart.pipeOnDrainFunctionResult (internal/streams/readable.js:816:7)

I'd appreciate any support as I'm trying to deploy this :)

Cheers!

@dxf
Copy link
Author

dxf commented Nov 14, 2022

I believe the limit is set at 10 - for reasons I'm not sure of, but if that could be enforced when uploading rather than just bugging out that would be ideal I reckon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant