Problem code
precondition_required
| Status | 428 Precondition Required |
| Type | https://api.librarika.dev.raynux.com/problems/precondition_required |
| Title | Precondition required |
| Retry | Only after you fix the cause. |
What it means
The operation needs an If-Match header and none was sent. PATCH /members/{id} requires one, so two integrations cannot overwrite each other.
What to do
Read the resource, take its ETag header, and send it as If-Match.
Example
HTTP/1.1 428 Precondition Required
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
"type": "https://api.librarika.dev.raynux.com/problems/precondition_required",
"title": "Precondition required",
"status": 428,
"code": "precondition_required",
"detail": "An If-Match header with the resource's current ETag is required.",
"request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}
The type URI https://api.librarika.dev.raynux.com/problems/precondition_required is this page. The detail above is an example of the English text; it is translated into the request's language and may change, so match on code, never on detail.