412Precondition Failed
A condition you attached to the request was not true, so the server refused to carry it out.
Browse all HTTP status codesWhen you see it
Conditional requests use headers like If-Match to say "only do this if the resource is still the version I have". A 412 means it is not, so the operation was skipped rather than overwriting someone else's change.
This is how optimistic locking is implemented over HTTP, and a 412 is a success in the sense that it prevented data loss.
Look up another one
Open
Type a code, a partial code like 40, or any word from a name or description. Everything runs in your browser.
Filter
Copy format
Status codes
69 of 69 codes. Click a row to copy it.
1xx Informational (4)
2xx Success (10)
3xx Redirection (8)
4xx Client errors (31)
5xx Server errors (16)