pallets / werkzeug

The comprehensive WSGI web application library.
https://werkzeug.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
6.66k stars 1.73k forks source link

Receiving 413 - RequestEntityTooLarge response #2999

Closed decarmona closed 2 weeks ago

decarmona commented 2 weeks ago

Hello!

I've been using Flask v3.0.0 with Werkzeug v3.0.6

I recently updated to Flask 3.0.3 which the update came with Werkzeug 3.1.2 but now one of my endpoints (responsible for uploading files) suddenly started responding with 413 RequestEntityTooLarge.

Thank you guys for your amazing support! <3

Environment:

davidism commented 2 weeks ago

Be sure to include a minimal reproducible example when reporting an issue. I can't reproduce this issue with the information provided. Uploading a file > 100kb (or > 1GB) does not raise an error. Perhaps you're seeing the new default max_form_memory_size (500kB) introduced in #2964, but that deals with non-file fields only.