Error type · 412

precondition-failed

A sync write whose If-Match is not the collection's (§ 20.4)

Status
412
code
precondition_failed
type
https://lantern.boreale.dev/errors/precondition-failed
When
A sync write whose If-Match is not the collection's (§ 20.4)

As a server sends it (application/problem+json, RFC 9457), with a detail for people when it has one:

{
 "schema": 1,
 "type": "https://lantern.boreale.dev/errors/precondition-failed",
 "title": "Precondition failed",
 "status": 412,
 "code": "precondition_failed"
}

Every error type · The specification, § 12