Technologies/FastAPI/starlette.errors.total
FastAPIFastAPIMetric

starlette.errors.total

Total server errors
Dimensions:None

Technical Annotations (12)

Configuration Parameters (3)
max_part_sizerecommended: 50 * 1024 * 1024
Form parser size limit; examples show 10MB or 50MB for larger uploads
max_file_sizerecommended: 20 * 1024 * 1024
SpooledTemporaryFile max_size parameter; controls memory buffer size before spilling to disk
starlette.versionrecommended: >=0.40.0
version 0.40.0 fixes unbounded memory buffering vulnerability
Error Signatures (3)
Part exceeded maximum size of 1024KB.log pattern
400http status
OOM errorerror code
Technical References (6)
MultiPartParsercomponentrequest.form()componentSpooledTemporaryFilecomponentmultipart/form-dataprotocolASGIprotocolfilenamecomponent
Related Insights (3)
Form data exceeding 1MB causes HTTP 400 errors since Starlette 0.40.0warning
Unbounded multipart form field buffering causes memory exhaustion DoScritical
Unbounded memory allocation from multipart form data without filename causes OOMcritical