Skip to content

PRECONDITION_REQUIRED

The update sent no If-Match header.

HTTP status 428
Error class PreconditionRequiredError in TypeScript and Python, *caitlyn.PreconditionRequiredError in Go, Error::PreconditionRequired in Rust
Retried by the SDKs No

Read the resource, then send its ETag with the update (TypeScript { ifMatch }, Python if_match=, Go caitlyn.WithIfMatch, Rust .if_match(…)).

Every error is an RFC 9457 problem details object with code set to PRECONDITION_REQUIRED 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.