Ferra.rs / Error Types / payload_too_large

payload_too_large

Payload Too Large

413 Payload Too Large

Emitted when an inbound request body exceeds the framework's default 1 MiB cap. This is a DoS-protection measure enforced by the request-body-limit middleware — it is emitted independently of FerraError.

Example RFC 7807 body

{
  "type":   "https://ferra.rs/errors/payload_too_large",
  "title":  "Payload Too Large",
  "status": 413,
  "detail": "request body too large"
}
← All error types