Skip to content

Precondition failed

Show all problem types
412

PRECONDITION_FAILED

The resource has changed in the meantime; the revision from If-Match is no longer current. Read it again and resend.
Typical cause
Someone else changed the record since you read it; your If-Match names an old revision.
Way out
Read again, apply your change to the current state and send it with the new ETag.

Example response

Example response
PATCH /v1/contacts/con_4Nf7…

HTTP/1.1 412 Precondition Failed
Content-Type: application/problem+json
Content-Language: en

{
  "type": "https://developers.bodo-app.com/problems/PRECONDITION_FAILED",
  "title": "Precondition failed",
  "status": 412,
  "instance": "/v1/contacts/con_4Nf7…",
  "code": "PRECONDITION_FAILED",
  "requestId": "req_01JBD8Y3K5M7Q2W9X4Z6T1V0NP"
}