WebmasterID logoWebmasterID
Crawl diagnostics

HTTP 431 Request Header Fields Too Large

HTTP 431 Request Header Fields Too Large, defined in RFC 6585, is returned when the server refuses a request because the header section — either a single field or the total — is too big. A frequent cause is an oversized or accumulated cookie. The server can indicate which header caused the problem so the client can reduce it.

Verified against primary sources

What 431 means

431 Request Header Fields Too Large, from RFC 6585, lets a server refuse a request when its header fields are too large. This can be triggered by a single oversized field — such as one very long cookie or a huge custom header — or by the cumulative size of all headers exceeding the server's configured limit.

RFC 6585 notes the response can indicate which header field caused the rejection, helping the client identify what to trim.

Common causes and fixes

The most common real-world cause is cookie bloat: many cookies, or a few large ones, accumulating for a domain until the Cookie header crosses the limit. Long bearer tokens or verbose custom headers can do the same on APIs.

Fixes are to reduce header size — prune or shrink cookies, shorten tokens, drop unnecessary custom headers — or to raise the server's header-size limit where appropriate. Lean-header clients like search crawlers rarely hit this, so a 431 usually points to client-side header accumulation.

How it appears in analytics and logs

A 431 means the request's headers exceeded the server's limit. It often traces to large cookies built up over time. It affects any client carrying those headers, including browsers, more than typical crawlers, which send lean headers.

Diagnostic use case

Diagnose 431s caused by bloated cookies or accumulated headers, and reduce header size or raise the server's header limit to restore access.

What WebmasterID can help detect

WebmasterID surfaces status codes for traffic, helping you detect 431s that point to cookie or header bloat affecting real clients' access to your pages.

Common mistakes

Privacy and accuracy notes

A 431 concerns header size, not header contents. WebmasterID records the status without storing cookie values or other header data tied to a visitor.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.