The request headers are larger than the server can handle.
Quick facts
When does it occur
The request headers are larger than the server can handle.
It belongs to the 4xx Client Error class of responses, defined in RFC6585#5.
Browse all codes in this class: 4xx Client Error
How to fix it
Reduce cookies and custom headers, or raise the server header-size limit.
Common causes
How to fix it
Double-check the URL, return to the homepage and search again, or retry later.
Reduce cookies and custom headers, or raise the server header-size limit.
Review access logs and permission rules for the affected path, and confirm routing and security policies.
Frequently asked questions
431 belongs to the 4xx Client Error class and is generally not cached for long; behavior is controlled by Cache-Control.
4xx Client Error: The request headers are larger than the server can handle.
Sources & standards
Updated 2026-08-18
Explore this reference
Related status codes