HTTP Status Codes / 4xx HTTP Status Codes / HTTP 431

431 Request Header Fields Too Large

This is an educational reference page about HTTP 431 Request Header Fields Too Large. The page itself is served as 200 OK so it can be indexed as HTTP documentation.

The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.

Specification

Registered in the IANA HTTP Status Code Registry as Request Header Fields Too Large. Defined in RFC 6585, Section 5.

Header and content rules

What RFC 6585 says about a 431 response, quoted from the RFC. The 4xx class rules also apply.

The same rules are in the response obligations table and its JSON.

4xx client error – the request contains bad syntax or cannot be fulfilled


HTTP status code lookup
REST API status code chooser
cURL command generator
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia