Skip to content

PRECONDITION_FAILED

If-Match does not match the resource's current ETag: someone changed it after you read it.

HTTP status 412
Error class PreconditionFailedError in TypeScript and Python, *caitlyn.PreconditionFailedError in Go, Error::PreconditionFailed in Rust
Retried by the SDKs No

Read the resource again, apply your change to what you read, and send it with the new ETag. Never retry with the old one.

Every error is an RFC 9457 problem details object with code set to PRECONDITION_FAILED and type set to this page's address. requestId identifies the request; quote it to Caitlyn support. Errors lists every field.

Operations that document this error: UpdateDraftVersion. Any operation can return it, though: the SDKs choose the class by HTTP status.