HIVE Docs
Explore HIVE

has_dependents

Resource has dependents

Used asFailed precondition: the code of an item of failed_preconditions[] in a 422 precondition_failed.
Parentprecondition_failed
Retryableno
SinceAPI version 2026-11-01

Messages#

LanguageTitledetail template
enResource has dependentsThe resource cannot be deleted because other resources reference it.
deRessource hat abhängige RessourcenDie Ressource kann nicht gelöscht werden, weil andere Ressourcen auf sie verweisen.

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/precondition_failed",
  "title": "A business rule blocks this request",
  "status": 422,
  "detail": "A business rule blocks this request. See failed_preconditions.",
  "instance": "/v1/assets",
  "code": "precondition_failed",
  "request_id": "req_01m71xxqhkf9avn6dq2sfgzgym",
  "retryable": false,
  "failed_preconditions": [
    {
      "code": "has_dependents",
      "detail": "The resource cannot be deleted because other resources reference it."
    }
  ]
}