W W.A.L.T.Developers Main site
API error · HTTP 412

precondition_failed

Precondition failed

HTTP status412 Precondition Failed
codeprecondition_failed
titlePrecondition failed
Retry?Re-read, then retry

What it means

The If-Match ETag sent with the PATCH is stale: the resource changed since you read it. The response carries the current ETag.

What to do

Re-read the resource (GET), merge your change, and retry the PATCH with the new ETag (§5).

Example response

Branch on code, never on title or detail. detail varies; quote request_id to support.

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

{
  "type": "https://www.underwritinguk.ai/developers/errors/precondition_failed",
  "title": "Precondition failed",
  "status": 412,
  "code": "precondition_failed",
  "detail": "Precondition failed.",
  "request_id": "7b0b1e5c-2f7e-4a52-9a43-5b0d0f0e9d11"
}

All error codes · Error catalogue in the integration guide (§15) · Error handling and retries (§12.4)