tenant_required
Tenant must be selected
| Used as | Top-level code, HTTP 400. |
| Retryable | no |
| Since | API version 2026-11-01 |
Messages#
| Language | Title | detail template |
|---|---|---|
| en | Tenant must be selected | A tenant must be selected with the Hive-Tenant header. |
| de | Mandant muss gewählt werden | Ein Mandant muss mit dem Header Hive-Tenant gewählt werden. |
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/tenant_required",
"title": "Tenant must be selected",
"status": 400,
"detail": "A tenant must be selected with the Hive-Tenant header.",
"instance": "/v1/assets",
"code": "tenant_required",
"request_id": "req_01m71xxqhkf9avn6dq2sfgzgym",
"retryable": false
}