KausateKausate Docs

Errors

Read the error body, decide how to handle a failure, and look up any published error code.

Open in Claude Open in ChatGPT

A failed REST call returns an HTTP status and a JSON body.

Definition

The error body

FieldTypeNullableDescriptionExample
codestringNoThe stable dotted code to match in your client."company.not_found"
detailstringNoAn explanation you can show or log. The wording can change."The company could not be found."
request_idstringYesThe request ID to give support. It also appears in the X-Request-Id header."req_01J8Z5V4Q2X9N7B3C6D1E0F2G4"

Validation errors

FieldTypeNullableDescriptionExample
detailarray of ValidationErrorItemNoOne entry per rejected field. The wording can change.[{"loc":["body","jurisdictionCode"],"msg":"Field required","type":"missing"}]

Error: What a call returns when it cannot give you a result: an HTTP status and a body holding a stable, dotted code, a readable detail and a request_id. The code says what happened and what to do next; the status is only the HTTP class. Branch on code, never on the wording of detail: a published code never changes, and new codes can be added.

Branch on the code

Use the full code to choose an action. To group errors in your UI, match a dot-delimited family such as company.not_found and codes that start with company.not_found..

Read the HTTP status for context. request.invalid can appear with either 400 or 422. A 404 with document.not_found.stale_id means you can order a new document list and use the new ID.

HTTP statuses

StatusMeaning
400Invalid request or the capability is not offered in this jurisdiction
401Missing API key
403Invalid API key, missing access, exceeded credit limit, or a capability with status coming_soon
404Resource or company data unavailable, including absent shareholder data or annual accounts
405Wrong HTTP method
408The time limit for a sync call elapsed
409The resource is in a state that rejects the request
410The referenced state expired
413Request too large
415Unsupported media type
422Request validation failed or data could not be provided for a valid company
429The request could not run because the service was busy
500Unexpected failure
501A fault on our side makes an offered capability unavailable
502Temporary register failure or webhook delivery failure
503, 504Register unavailable

Authentication and credits

A missing X-API-Key header returns 401 and auth.unauthorized. An invalid key and a valid key without access both return 403 and auth.forbidden. A credit limit failure also returns 403, with billing.credit_limit_exceeded. Use code to distinguish the credit limit failure from an authentication or access failure.

Handle a failure

Retries: We retry passing failures ourselves. An error you receive is what remains after our retries.

The error carries no retry hint.

Look up the code's action in Error codes. If a code has more than one action, use the row that matches the HTTP status. Treat an unknown code as final.

Fix the request

Correct the input, API key, credits, or settings identified by the error before sending the request again.

Try again now

Send the same request again. We did not charge for the failed attempt.

Try again later

Wait longer after each failed attempt. If the failure persists, contact support with request_id.

Final

Stop retrying the same request. Show the explanation to your user or follow the next step listed for that code.

Read failures from async orders and webhooks

Fetching a failed order result returns HTTP 200. Read status first, then read error and code when present.

statusWhat to do
runningKeep polling or wait for the webhook.
completedRead result.
failed, canceled, terminated, timedOutHandle the terminal failure.

Failed order results and their webhook payloads include error from API version 2025-04-01 and code from 2026-05-01. Check the webhook's Kausate-Version header for its payload version. If your client sees an unknown status, stop polling and handle it as a failure.

{
  "status": "failed",
  "error": "Data source temporarily unavailable",
  "code": "source.unavailable"
}

Read failures from MCP

MCP surfaceWhere to read the code
get_order_resultcode beside error in the returned object
tasks/get for a failed taskerror.data.code on the task
JSON-RPC error from tasks/*error.data.code in the error
Failed tool call[code=…] at the start of the text block, when a code is available

For a failed tool call, capture the code with /^\[code=([a-z0-9_.]+)\] / and display the remaining text. If argument validation rejects a tool call, the message names the invalid argument and has no code prefix. Use the MCP or OAuth response for transport failures such as a missing OAuth token.

Example

Order a company report for Sandbox Vanished GmbH. The order result has status set to failed and code set to company.not_found. Take the final branch whether you fetch the result or receive it by webhook. The equivalent REST error body for a sync call is:

{
  "detail": "Company not found",
  "code": "company.not_found",
  "request_id": "req_e14506d86e0e452080d5de23ae5418b5"
}

Error codes

127 entries

CodeStatusWhat to do
auth.account_locked409Try again laterThe register has locked access to this resource (not your Kausate account)
auth.customer_credentials_not_configured422Fix the requestYour organization's integration credentials are missing or invalid
auth.forbidden403Fix the requestThe API key is invalid, or valid but not entitled
auth.unauthorized401Fix the requestNo API key was supplied
billing.credit_limit_exceeded403Fix the requestYour credit balance or postpaid limit is used up; top up to continue
capability.not_available501FinalThe jurisdiction offers this operation but it is not usable yet — a fault on our side; contact support
company.data_not_diffusable422FinalThe company exists but the register will not diffuse its data
company.does_not_exist404FinalThe official register confirms that the company does not exist
company.legacy_register.registro_ditte422FinalThe company is only in a historic register; only historic reports are available
company.no_information.bt_cra422FinalThe register returned no information for this registration number; that does not establish that the company does not exist
company.no_register_publications404FinalThe register has published no acts for this company
company.not_available.registry_fee422FinalThe register charges a fee to view this company's record, which we do not cover yet
company.not_found404FinalNo such company was found
company.not_found.handelsregister404Fix the requestThe register rejected the search as too broad; use a longer name or the registration number
company.not_found.not_publicly_listed404FinalThe register lists only struck-off and dissolved companies of this kind; one it does not list is either active or was never registered
company.not_found.transparenzregister404FinalThe company is in the commercial register but has no entry in the beneficial-ownership register
company.outside_register422FinalThe company exists, but not in the register this product covers
company.temporarily_unavailable503Try again laterThe company's data is temporarily unavailable
discrepancy.entity_ineligible422FinalThe company cannot be the subject of a discrepancy report
discrepancy.evidence_unavailable422Fix the requestAn evidence attachment is gone or is not a valid PDF — nothing filed
discrepancy.identity_mismatch422Fix the requestThe company the register resolved to does not match the asserted identity
discrepancy.submission_outcome_unknown409FinalThe filing may have gone through — verify before resubmitting
document.extraction_failed500, 503Try again laterWe could not extract valid structured data from the document
document.listing_too_large422FinalThe register refuses to list the filings of a company with this many filings
document.not_found404FinalThe requested document does not exist
document.not_found.empty_tree404FinalNo documents are available from the register's list for this company
document.not_found.esef404FinalThe filing exists but is published in ESEF, readable only through the register's own viewer
document.not_found.handelsregister404FinalThe register has no such document
document.not_found.historical_register_only404FinalThe closed register sheet has no electronic content for this request; download the historical extract from its document list to inspect the scanned record
document.not_found.purchase_required404FinalThe register only sells this filing, and we do not buy it for this jurisdiction
document.not_found.stale_id404Fix the requestThe document id came from an earlier listing; list documents again and use the new id
document.not_found.unsigned404FinalThe register holds the filing but cannot produce a signed copy of it
document.not_found.unternehmensregister404FinalThe register has no such document
document.processing_failed500Try again laterWe have the document but could not process it
document.processing_pending503Try again laterThe register is still preparing the document
document.processing_pending.basket503Try again laterThe requested documents are not yet available from the register
document.purchase_uncertain503Try again laterAn earlier purchase of this document did not complete; we are reconciling it so you are not charged twice
document.retrieval_failed503Try again laterThe register document is unavailable for this request
document.temporarily_unavailable503Try again laterThe document exists but is momentarily unavailable
document.temporarily_unavailable.empty_tree503Try again laterThe company's document list is temporarily unavailable from the register
document.temporarily_unavailable.folder503Try again laterThe register is temporarily unable to open the company's document folder
document.too_large422FinalThe register served a document too large for us to process
document.type_unsupported400Fix the requestThis jurisdiction does not offer the requested document type
financials.not_available404FinalNo financial data for this company
financials.not_available.no_accounts_filed404FinalThe register has no financial account filings for this company
financials.not_available.unparseable_filings404FinalAccount filings exist, but none could be converted to structured financial data
incorporation_date.not_published404FinalThe register records no incorporation date for this company (continued, amalgamated or revived)
internal.acquisition_limit.us_ct503FinalThis report is larger than we can currently produce, and no partial report is returned; contact support
internal.unexpected500Try again laterAn unclassified failure on our side
legal_representatives.not_available.jurisdiction404FinalYou requested legal representatives, which this jurisdiction does not supply — not a sign the company has none
legal_representatives.not_published.deferred_to_filings404FinalThe register does not publish directors on this company's profile and defers them to its filings
legal_representatives.not_published.no_extract404FinalThe register publishes no extract for this company, which is where its legal representatives are listed
legal_representatives.not_published.publications404FinalThe available publications do not identify current legal representatives; this does not mean the company has none
order.charge_attempts_exhausted502Try again laterThe register payment for the order could not be completed
order.continuation_state_not_found410FinalYou can no longer extend the graph from that order. Order a new graph.
order.paid_but_undeliverable500FinalThe order was placed, but its result was never delivered; contact support
order.payment_capacity_exceeded503Try again laterThe paid order could not start right now; nothing was charged
order.registry_session_busy503Try again nowWe could not start the order. We did not charge you.
registry.access_limited.seprec503Try again laterThe register is temporarily unavailable
report.not_producible_online422FinalThe register refuses to produce this company's report online (too many local units or legal representatives)
report.register_detail_unreachable404FinalThe register lists the company but does not publish its details; the report carries only its listing
request.invalid400, 422Fix the requestInvalid request parameters
request.invalid.population_checkpoint400Fix the requestThe population checkpoint does not match the run or the source contract
request.invalid.search_too_broad400Fix the requestThe register matches too many companies for this search; narrow the name or add a filter
request.invalid.too_many_keywords500Try again laterWe could not prepare this company search on our side; contact support
request.invalid.webhook_destination400Fix the requestThe webhook URL is unreachable or resolves to a private address
request.method_not_allowed405Fix the requestWrong HTTP method for that path
request.session_expired410Fix the requestThe document reference expired. List documents again.
request.timeout408Try again laterThe request timed out
request.too_large413Fix the requestRequest body too large
request.unsupported_media_type415Fix the requestUnsupported Content-Type
resource.conflict409FinalThe resource is in a state that rejects this request
resource.gone410FinalThe resource existed and is permanently gone
resource.not_found404FinalThe resource was not found
review.rejected422FinalShareholder data was rejected during our review and is omitted; the rest of the report is unaffected
shareholders.extension_not_priceable422FinalNone of the requested nodes' jurisdictions offer extension yet
shareholders.not_applicable_to_entity_type404FinalShare ownership does not apply to this legal form, such as an association or foundation
shareholders.not_available404FinalNo shareholder data for this company
shareholders.not_available.joint_stock404FinalJoint-stock company — shares are not tracked by the register
shareholders.not_available.jurisdiction404FinalYou requested shareholders, which this jurisdiction does not supply — not a sign the company has none
shareholders.not_available.listed_entity404FinalListed or large holding company; cap table not reconstructable
shareholders.not_available.no_registry_data404FinalShareholder data is unavailable from the register's filings
shareholders.not_available.sole_proprietorship404FinalSole proprietorship — it has no shareholders
shareholders.nothing_to_extend409FinalThe graph has no expandable nodes matching the request
shareholders.resolution_failed500Try again laterWe could not resolve the ownership graph
shareholders.search_truncated422FinalNo shareholder data is available for this request. Other filings may contain it.
shareholders.source_unresolvable422FinalA recorded data source could not be attributed to a known register
source.maintenance.isc503Try again laterThe register is in a scheduled maintenance window
source.maintenance.krs503Try again laterThe register is in a scheduled maintenance window
source.network_error502Try again laterThe register could not be reached
source.network_error.unternehmensregister502Try again laterThe register could not be reached
source.rate_limited429Try again laterThe register is temporarily unavailable for this request
source.rate_limited.companies_house429Try again laterThe register is temporarily unavailable for this request
source.rate_limited.li_handelsregister429Try again laterCompany search is temporarily unavailable from the register
source.rejected.transparenzregister422Fix the requestThe register rejected the request; check your account with the register and the filing details
source.response_unprocessable502Try again laterThe register's response is unusable for this request
source.server_error502Try again laterThe register returned a server error
source.server_error.companies_house502Try again laterThe register returned a server error
source.temporary502Try again laterThe register is temporarily unavailable
source.unavailable502, 503, 504Try again laterThe register is unavailable
source.unavailable.dores503Try again laterThe register is unavailable
source.unavailable.eigarayvirlit503Try again laterThe register is unavailable
source.unavailable.handelsregister503Try again laterThe register is unavailable
source.unavailable.krs503Try again laterThe register is unavailable
source.unavailable.lbr503Try again laterThe register is unavailable
source.unavailable.li_handelsregister503Try again laterThe register is unavailable
source.unavailable.mx_siger503Try again laterThe register is unavailable
source.unavailable.onbis503Try again laterThe register is unavailable
source.unavailable.orsr503Try again laterThe register is unavailable
source.unavailable.rpo503Try again laterThe register is unavailable
source.unavailable.secp503Try again laterThe register is unavailable
source.unavailable.unternehmensregister503Try again laterThe register is unavailable
source.unavailable.vg_fsc503Try again laterThe register is unavailable
source.unavailable.ycor503Try again laterThe register is unavailable
status.not_published.source_closed404FinalThe register stopped publishing lifecycle events; the status reflects only what was published before then
subsidiaries.incomplete.principal_subsidiaries_only404FinalThe company holds over 200 subsidiaries and listed only the principal ones, as the law permits — the list is part of its group, not all of it
subsidiaries.incomplete.psc_register_only404FinalThe returned holdings come only from the register's record of significant control; holdings of 25% or less without other control, foreign holdings and further group levels are not covered
subsidiaries.list_incomplete404FinalThe report may omit subsidiaries disclosed in the filing
subsidiaries.not_available.filing_unreadable404FinalSubsidiary data is unavailable from the filed accounts
subsidiaries.not_available.jurisdiction404FinalYou requested subsidiaries, which this jurisdiction does not supply — not a sign the company has none
subsidiaries.not_available.no_disclosure_filed404FinalNo filed accounts disclose this company's subsidiaries in machine-readable form — not a sign it has none
subsidiaries.not_available.temporarily404Try again laterSubsidiary data is temporarily unavailable. The report includes the other available data.
subsidiaries.not_published.disclosure_exempted404FinalThe deposited accounts state the participations list was omitted, as the law permits — the filer has declared it does not publish it
subsidiaries.not_published.no_accounts404FinalNo filed annual accounts are available for this company
subsidiaries.not_published.no_table404FinalThe deposited accounts carry no table of subsidiaries — normally the company disclosing it holds none
ubo.not_disclosed404FinalThe register does not disclose beneficial ownership for this company
webhook.delivery_failed502Fix the requestYour webhook endpoint rejected the delivery; we keep retrying while you fix it

Last updated on

On this page