Skip to content
4xx Client Error

431 Request Header Fields Too Large

The header block, or one individual header, is too big.

What causes it

  • Cookie bloat — a domain accumulating dozens of tracking cookies until every request exceeds the limit.
  • A very long `Referer` or a huge JWT in `Authorization`.

How to fix it

  • Clear cookies for the domain to confirm the cause, then trim what you set.
  • Keep JWTs small: put a session ID in the cookie and the claims in your own store.

At a glance

Class
4xx Client Error
Reference
RFC 6585 §5
Standardised
Yes
Retry the request?
No — fix the request

Other 4xx client error codes

Back to the full HTTP status code reference