HTTP 4xx

431 Request Header Fields Too Large

The request was refused because its headers are too large, often an oversized Cookie header.

4xx Client error

What causes it

  • Too many or too large cookies or headers.

How to fix it

Reduce cookie size and trim unnecessary headers.

Example response

A typical raw HTTP response a client receives for a 431, with the headers this code is defined around.

HTTP/1.1 431 Request Header Fields Too Large
Content-Type: text/html; charset=utf-8

Know before your visitors do.

Sentinel checks your site around the clock from multiple regions and alerts you the moment it starts returning a 4xx error, so you can fix it before it costs you.