arrow_back Back to Tickets

Ticket #340c09

completed

Problem

user can not upload picture that a larger than 1mb.

Creator

maxi

Priority

1

Project Name

customer feedback zfrika

Question

Nota ble to upload profile picture -Max. H. Drag and drop doesnt work . D Firefox. + Safari. Firefox worked with photo upload. Firefox Not able to view png. Can it be the file size. 1MB is too big to uploading picture. Not a png issue. Safari I get this error. If the file try to upload . The string did not match the expected pattern. In Firefox I get a different error. File size over 1mb does not load.

Notes

To solve the 413 Request Entity Too Large error, you need to add the client_max_body_size directive to your server block. In Nginx, the default limit is only 1MB. Since your Node.js code allows up to 14MB, Nginx is blocking the request before it even reaches your application.

Next Steps

update nginx file. updated the uploadprofilepicture.ejs to notify the user when the file exceeds 7MB . so they dont just get a crash error.

Ticket Information

Ticket ID: 69701955d50c22b7dc340c09
Date Initiated: 1/21/2026, 4:09:00 PM
Date Resolved: 1/21/2026, 1:20:00 AM
Status: completed
Created: 1/20/2026, 4:09:57 PM
Last Updated: 1/20/2026, 7:33:47 PM