What it means
The server requires this request to be conditional, usually with If-Match. It stops clients from overwriting changes they never saw.
Why you're seeing it
- A
PUT,PATCHorDELETEwithoutIf-Matchto an API that requires one.
How to fix it
GETthe resource, read itsETag, and send it back inIf-Match.
Example response
HTTP/1.1 428 Precondition Required Content-Type: application/json {"error": "send If-Match with the resource's ETag"}