HIVE Docs
Explore HIVE

unit_not_in_kind

Unit not in kind

Used asField code: the code of an item of errors[] in a 400 invalid_request (and of a 409 conflict that lists fields).
Retryableno
SinceAPI version 2026-11-01

Messages#

LanguageTitledetail template
enUnit not in kindThe unit is not one of the units of this quantity kind.
deEinheit nicht in der GrößenartDie Einheit gehört nicht zu dieser Größenart.

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/unit-preferences",
  "code": "invalid_request",
  "request_id": "req_01m71xxqhkf9avn6dq2sfgzgym",
  "retryable": false,
  "errors": [
    {
      "pointer": "/display_units/pressure",
      "code": "unit_not_in_kind",
      "detail": "The unit is not one of the units of this quantity kind."
    }
  ]
}