412 means a precondition the client sent (If-Match, If-Unmodified-Since, If-None-Match on a write) evaluated false: the resource isn't in the version the client expected. 409 means the request conflicts with the current state for a business reason regardless of version, such as cancelling an already-shipped order or creating a username that exists. A client handles 412 by re-reading and retrying; it handles 409 by changing the request.
Checks precise status code semantics
Last updated 23 Nov 2026.