The request's headers are too large — all together, or one of them on its own — for the server to process.
Defined in RFC 6585 §5 — 431 Request Header Fields Too Large · MDN reference
Bloated cookies accumulated across subdomains, oversized JWTs carrying too many claims or roles, and tracing headers that grow with every hop.
Grow the cookie jar or an Authorization token until something breaks. The limit is usually hit at a proxy, so test through the same chain production uses.
Shrink the headers: clear cookies for the domain, slim the token (put claims behind an ID rather than inline), or remove redundant headers. Retrying unchanged will fail identically.
1 endpoint in this playground answers with 431. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/faults/v1/status/{code} — Returned on request (Fault Injection API) Open & run this endpointAll HTTP status codes · All 39 mock REST APIs · Getting started guide
Last updated