428 Precondition Required
4xx Client Error

The 428 status code indicates that the origin server requires the request to be conditional.

Its typical use is to avoid the “lost update” problem, where a client GETs a resource’s state, modifies it, and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict. By requiring requests to be conditional, the server can assure that clients are working with the correct copies.

Responses using this status code SHOULD explain how to resubmit the request successfully.

RFC 6585 Section 3

This is part of the expanded “Additional HTTP Status Codes” as defined in RFC 6585.


428 responses MUST NOT be cached.