4xx Client Error
Your request headers (the extra information like cookies) are too big for me to handle. Clean up your cookies or make the headers smaller.
Use 431 when one header field or the total request header section is too large to process.
GET https://api.example.test/api/data
# Headers
Cookie: session=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx431 Request Header Fields Too Large
# Headers
Content-Type: application/json
# Body
{
"error": "request_header_fields_too_large"
}Cookie header size exceeds server's 8KB limit
GET https://api.example.test/api/users
# Headers
Authorization: Bearer <very-large-jwt>431 Request Header Fields Too Large
# Headers
Content-Type: application/json
# Body
{
"error": "request_header_fields_too_large"
}JWT token size exceeds server's header size limit