Problem code
hold_not_cancellable
| Status | 409 Conflict |
| Type | https://api.librarika.dev.raynux.com/problems/hold_not_cancellable |
| Title | Hold not cancellable |
| Retry | No. The same request gets the same answer until you change it. |
What it means
The hold is fulfilled or expired and can no longer be cancelled. Cancelling a hold that is already cancelled is not an error: it answers 200 unchanged.
What to do
Read the hold again and show its status.
Example
HTTP/1.1 409 Conflict
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
"type": "https://api.librarika.dev.raynux.com/problems/hold_not_cancellable",
"title": "Hold not cancellable",
"status": 409,
"code": "hold_not_cancellable",
"detail": "This hold can no longer be cancelled.",
"request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}
The type URI https://api.librarika.dev.raynux.com/problems/hold_not_cancellable 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.