preview_header_required
Preview header required
| Used as | Field code: the code of an item of errors[] in a 400 invalid_request (and of a 409 conflict that lists fields). |
| Retryable | no |
| Since | API version 2026-11-01 |
Messages#
| Language | Title | detail template |
|---|---|---|
| en | Preview header required | This preview feature requires the Hive-Preview header. |
| de | Preview-Header erforderlich | Diese Vorschaufunktion erfordert den Header Hive-Preview. |
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/invalid_request",
"title": "Request validation failed",
"status": 400,
"detail": "The request is invalid. See errors for the fields.",
"instance": "/v1/assets",
"code": "invalid_request",
"request_id": "req_01m71xxqhkf9avn6dq2sfgzgym",
"retryable": false,
"errors": [
{
"pointer": "/key",
"code": "preview_header_required",
"detail": "This preview feature requires the Hive-Preview header."
}
]
}