4xx Client ErrorHTTP Status Code Reference

HTTP 431 Request Header Fields Too Large— What It Means, Causes & How to Fix It

The server is unwilling to process the request because its header fields are too large. This can happen when cookies, authorization tokens, or other headers are excessively long.

Live URL Status Checker

Enter any URL to see its real HTTP response code

Common Causes

  • Cookies have grown too large (accumulated over time)
  • Authorization token is excessively long
  • Too many custom headers in the request
  • Referrer URL is extremely long

How to Fix

  1. 1Clear browser cookies for the domain and re-authenticate
  2. 2Reduce the size of custom headers
  3. 3Increase server's header size limit if you control it
  4. 4Move large data from headers to the request body

Example

HTTP 431 Request Header Fields Too Large
GET /page HTTP/1.1
Cookie: (extremely long cookie string)

→ 431 Request Header Fields Too Large

Related Client Error Codes

Commonly Referenced Status Codes

The most frequently searched HTTP status codes

Related Tools