not_acceptable
Not acceptable
| Used as | Top-level code, HTTP 406. |
| Retryable | no |
| Since | API version 2026-11-01 |
Messages#
| Language | Title | detail template |
|---|---|---|
| en | Not acceptable | Only application/json is available. |
| de | Nicht akzeptabel | Nur application/json ist verfügbar. |
title is fixed English text and never varies per occurrence; detail follows Accept-Language and is for people only. Clients switch on code (and detail_code or failed_preconditions[].code), never on detail. A client that does not know a code falls back to the HTTP status class.
Example#
JSON
{
"type": "https://docs.hive.clerktree.com/errors/not_acceptable",
"title": "Not acceptable",
"status": 406,
"detail": "Only application/json is available.",
"instance": "/v1/assets",
"code": "not_acceptable",
"request_id": "req_01m71xxqhkf9avn6dq2sfgzgym",
"retryable": false
}