HTTP Status Codes
HTTP 428 Precondition Required
428 Precondition Required
The origin server requires the request to be conditional to prevent lost updates.
Observed message
428 Precondition Required
Why it happens
- The request could not be fulfilled because of client-side syntax, state, authorization, or precondition issues.
- Headers, payload shape, request metadata, or client expectations do not match what the server requires.
- An application, proxy, or security layer rejected the request before normal processing could complete.
How to fix it
- Inspect the exact request URL, headers, body, and protocol details being sent.
- Review server expectations for authentication, validation, conditional headers, or resource state.
- Check proxies, API gateways, and middleware that might reject the request before it reaches the application.