purpose_not_allowed
Purpose not allowed for this operation
| Used as | Top-level code, HTTP 403. |
| Retryable | no |
| Since | API version 2026-11-01 |
Messages#
| Language | Title | detail template |
|---|---|---|
| en | Purpose not allowed for this operation | The stated purpose is not allowed for this operation. |
| de | Zweck für diese Operation nicht zulässig | Der angegebene Zweck ist für diese Operation nicht zulässig. |
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/purpose_not_allowed",
"title": "Purpose not allowed for this operation",
"status": 403,
"detail": "The stated purpose is not allowed for this operation.",
"instance": "/v1/assets",
"code": "purpose_not_allowed",
"request_id": "req_01m71xxqhkf9avn6dq2sfgzgym",
"retryable": false
}