How to Resolve "413 Request Entity Too Large" Error in Spryker Yves Custom Form for File Uploads?

gajendra.dubey108
gajendra.dubey108 Posts: 1 🧑🏻‍🚀 - Cadet

I have created a custom form with enctype="multipart/form-data" in the Spryker Yves layer to upload and save files using an input of type file. The files are saved to an AWS S3 bucket. When uploading files of 500 KB each in both inputs, the upload works correctly. However, attempting to upload files totaling 1 MB together (across both inputs) results in a 413 Request Entity Too Large error.

How can I resolve this issue so that users can upload files with a maximum combined size of 1 MB across both inputs?

Comments