Content pfp
Content
@
0 reply
0 recast
0 reaction

Samuel pfp
Samuel
@samuellhuber.eth
Anyone debugged "Error: Request Entity Too Large FUNCTION_PAYLOAD_TOO_LARGE" in Remix or Vite.js before? not sure how to properly accept > 3MB file uploads. using <Form method="post" encType="multipart/form-data" <input type="file" id="image" name="image" accept="image/*" required /> </Form> and then on the action (POST) handle it using @mjackson/form-data-parser but when calling that endpoint with either the default formData Handler or form-data-parser running into the request entity too large error for anything >= 3MB
5 replies
0 recast
3 reactions

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
What host are you using? Might be a limitation of the serverless function provider
1 reply
0 recast
3 reactions

Samuel pfp
Samuel
@samuellhuber.eth
tried vercel and replit, will try my own cluster. Localhost I recall having issues too. checking that again before the mutation of changes I made
1 reply
0 recast
1 reaction