Content
@
0 reply
0 recast
0 reaction
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
4 reactions
Darryl Yeo 🛠️
@darrylyeo
What host are you using? Might be a limitation of the serverless function provider
1 reply
0 recast
3 reactions
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
Samuel ツ
@samuellhuber.eth
localhost: Uncaught (in promise) DOMException: Clipboard write was blocked due to lack of user activation. and nothing in the server logs. oh how I love it :D
1 reply
0 recast
1 reaction