separation_of_duties
Separation of duties
| Used as | Detail code: the detail_code member of a permission_denied response (R-031); never parse it from detail. |
| Parent | permission_denied |
| Retryable | no |
| Since | API version 2026-11-01 |
Messages#
| Language | Title | detail template |
|---|---|---|
| en | Separation of duties | The same principal cannot request and approve. |
| de | Funktionstrennung | Derselbe Akteur kann nicht beantragen und freigeben. |
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/permission_denied",
"title": "Permission denied",
"status": 403,
"detail": "The same principal cannot request and approve.",
"instance": "/v1/assets",
"code": "permission_denied",
"request_id": "req_01m71xxqhkf9avn6dq2sfgzgym",
"retryable": false,
"detail_code": "separation_of_duties",
"required_permission": "command.approve"
}