Problem code
no_holdable_copies
| Status | 422 Unprocessable Entity |
| Type | https://api.librarika.dev.raynux.com/problems/no_holdable_copies |
| Title | No holdable copies |
| Retry | No. The same request gets the same answer until you change it. |
What it means
The title has no copy that can be held.
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/no_holdable_copies",
"title": "No holdable copies",
"status": 422,
"code": "no_holdable_copies",
"detail": "This title has no copies that can be placed on hold.",
"request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}
The type URI https://api.librarika.dev.raynux.com/problems/no_holdable_copies 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.