All HTTP status codes

HTTP 428 Precondition Required

Client Error

The server requires the request to be conditional — send If-Match/If-Unmodified-Since to avoid lost-update races.

Defined in RFC 6585

Common causes

  • APIs enforcing optimistic concurrency on writes

How to fix it

  1. GET the resource, capture its ETag, and resend with If-Match

Want to explore status codes interactively? Try the free HTTP Status Code Reference — search, categories and example responses, right in your browser.