KausateKausate Docs
Shared
Viewing API version 2025-04-01. View the latest version.

ErrorResponse

The body of every Kausate error response.

The same shape is used for every non-2xx status. detail is the human-readable explanation, code is the stable dotted identifier to branch on, and request_id is the support handle.

Match on code, never on detail, whose wording may change. Codes are hierarchical: match a dot-separated prefix such as company.not_found to handle a family of conditions at once.

Returned by: a call that fails, as its error response. See Errors.

Fields

detail

Human-readable explanation of the failure. Wording may change; do not match on it.

Type: string · Required: yes

code

Stable dotted error code. Branch on this, or on one of its dot-separated prefixes — codes are published at full leaf depth, so a specific code may appear where a shorter one used to.

Type: string · Required: yes · Example: "company.not_found.transparenzregister"

request_id

Correlation id for this request, also returned in the X-Request-Id header. Quote it to support to have the exact request looked up.

Type: string or null · Required: no · Example: "req_01J8Z5V4Q2X9N7B3C6D1E0F2G4"

Last updated on

On this page