precondition_failed
412 · It has changed since you read it.
What it means
Section titled “What it means”The request had an If-Match header, and the item has changed since that version: someone, or another program, edited it after you read it. Nothing was changed.
How to put it right
Section titled “How to put it right”Read the item again (its ETag header is the new version), apply your change to what is there now, and send it with the new ETag in If-Match. Leave If-Match out only if overwriting others’ changes is what you want.
What the response looks like
Section titled “What the response looks like”{ "type": "https://docs.farkitect.com/api/errors/precondition-failed", "title": "It has changed since you read it", "status": 412, "detail": "A sentence about this request: what was wrong, and what would be accepted.", "code": "precondition_failed", "requestId": "req_46075e91719e4bd0a9a4"}Branch on code, not on title or detail, which may be reworded. See Errors for how every error is shaped.