I'm getting an unexpected end of form when running Payload on a Google Cloud Function. It's a busboy error, related ticket here:
https://github.com/mscdex/busboy/issues/296.
Is there any easy fix or config that can alter the buffer that Payload uses?
The top-level
upload
property of the payload config is for configuring
express-fileupload
, which looks to support passing through the busboy configuration.
Types here:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/express-fileupload/index.d.tsexpress-fileupload:
https://github.com/richardgirges/express-fileuploadNot sure specifically what you'd need to modify specifically, but this is what we have exposed.
Looks like the intellisense is not working. You could clone down payload and use one of the config.ts files to play around with that if you wanted.
Star
Discord
online
Get dedicated engineering support directly from the Payload team.