How to complete the challenge GET /api/heartbeat (431) X-CHALLENGER too long
Issue a GET request to /api/heartbeat with an X-CHALLENGER header longer than 100 characters.
To have the challenge tracked, start the header value with your real challenger GUID, then append extra characters.
Example:
X-CHALLENGER: your-real-guid-followed-by-extra-characters-to-exceed-the-limit
The response should be 431 Request Header Fields Too Large.
{
"errorMessages": [
"X-CHALLENGER header is too large, maximum allowed is 100 characters"
]
}
Try it now
GET /api/heartbeat with an oversized X-CHALLENGER to trigger 431
Lessons Learned
431 Request Header Fields Too Largeis a header-size failure, not an application payload error.- The
X-CHALLENGERboundary shows that tracking headers need validation like user data. - Header-limit tests should change only header length so the cause stays obvious.
Suggested Experiments
- Increase the
X-CHALLENGERvalue one chunk at a time to find the exact length boundary. - Compare oversized
X-CHALLENGERwith an oversized todo body to distinguish431 Request Header Fields Too Largefrom413 Content Too Large.