Problem code
title_not_holdable
| Status | 422 Unprocessable Entity |
| Type | https://api.librarika.dev.raynux.com/problems/title_not_holdable |
| Title | Title not holdable |
| Retry | No. The same request gets the same answer until you change it. |
What it means
The library does not allow holds on this title.
What to do
Hide the hold action for this title.
Example
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
"type": "https://api.librarika.dev.raynux.com/problems/title_not_holdable",
"title": "Title not holdable",
"status": 422,
"code": "title_not_holdable",
"detail": "This title cannot be placed on hold.",
"request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}
The type URI https://api.librarika.dev.raynux.com/problems/title_not_holdable 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.