HTTP 428 Precondition Required
Client ErrorThe server requires the request to be conditional (include If-Match or If-Unmodified-Since headers) to prevent lost updates.
Common Causes
- Server requires optimistic concurrency control
- API mandates conditional requests for updates
How to Fix
- Include If-Match header with the resource's current ETag
- Fetch the resource first to get the ETag, then update
Related Status Codes
Need to look up other HTTP status codes?
View the Full HTTP Status Code Reference