Next.js Discord

Discord Forum

Payload too large (Error 413)

Checkered Giant posted this in #help-forum
Open in Discord
Checkered GiantOP
I have a serverless function where the payload request is too large. Is there a way to bypass the 4.5mb limit without storing the files? I'm sending the file data to openAI but I do not want to store the files that a user uploads. I've already tried increasing the body size limit in my config file.

0 Replies