431 Request Header Fields Too Large
The server refuses the request because its headers are too large.
What it means
HTTP 431 Request Header Fields Too Large means the combined size of the request headers, or a single header field, exceeds what the server allows. It can point at one oversized field or at the headers as a whole, and a frequent culprit is a cookie that has grown too big.
When it happens
It happens when cookies pile up until they overflow the header limit, when too many or overly long custom headers are sent, or when an authentication token in a header is unusually large.
How to fix it
- Clear oversized or stale cookies for the site, which is the most common fix.
- Reduce the number and size of custom headers the client sends.
- Raise the server's header-size limit (such as large_client_header_buffers in Nginx) if the large headers are legitimate.
- Move large data out of headers and into the request body where it belongs.
SEO impact
Negative if it hits real pages. Bloated cookies or headers that trigger 431 can block crawlers, so keep header size under control on pages you want indexed.
Find out which of your URLs return 431
Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.
Related codes
The server could not understand the request due to malformed syntax.
401 UnauthorizedAuthentication is required and has failed or not been provided.
402 Payment RequiredA largely reserved code intended for payment-gated access to a resource.
403 ForbiddenThe server understood the request but refuses to authorize it.
404 Not FoundThe server could not find the requested resource.
405 Method Not AllowedThe HTTP method used is not supported for the requested resource.
Related guides
A plain-English primer on HTTP status codes for SEOs: what the 2xx, 3xx, 4xx, and 5xx families mean, which ones affect rankings, and the codes worth knowing.
How to find and fix broken linksA practical walkthrough for finding broken links on your site, working out why each one breaks, and fixing them so visitors and crawlers stop hitting dead ends.