Errors & limits
Errors are JSON with a stable code:
{ "error": "country_not_entitled" }
Error codes
| STATUS | CODE | WHEN |
|---|---|---|
| 400 | missing_query | Search without q or structured params. |
| 400 | conflicting_parameters | Search mixing q with structured params. |
| 400 | missing_country | registrationNumber or name without country. |
| 400 | invalid_parameters | A list, task or upload parameter is not allowed; detail says which. |
| 400 | missing_entity_address | Investigate without entityId, country+registrationNumber, or registry+registryRef. |
| 422 | unsupported_lookup_for_country | That country's registry has no registration-number lookup yet. |
| 401 | missing_or_unknown_api_key | No key, a key we don't recognize, or a revoked key. |
| 402 | insufficient_credits | Code QUOTA_EXCEEDED: no checks left — your plan's checks for this period and any credit-pack credits are used up. Investigations from the app count too. The body carries upgrade_url and topup_url. |
| 402 | past_due | Code PAST_DUE: the last payment failed and the grace period has ended. Update the payment method in the app. |
| 403 | api_access_required | Code API_ACCESS_REQUIRED: API and MCP access comes with Growth and above, or with any credit pack. |
| 403 | email_unverified | Code EMAIL_UNVERIFIED: the account's email address isn't verified yet. |
| 403 | country_not_entitled | The entity belongs to a country outside your key. On search this arrives as a 200 with a note instead. |
| 404 | unknown_id | Id prefix matches no connected registry. |
| 404 | not_found | No record behind the id. |
| 405 | method_not_allowed | Wrong HTTP method. |
| 413 | file_too_large | A document over 8 MB (4 MB as base64 over MCP). |
| 415 | unsupported_type | A document type Verety does not read. |
| 422 | download_failed | A document link could not be downloaded, or points to a private address. |
| 429 | rate_limit_exceeded | Too many requests — back off and retry. |
| 502 | investigation_failed | The investigator stopped with an error; message says why. |
A 402 or 403 from a check or a gated feature has one shape, the same over MCP (as an isError tool result):
{
"error": "insufficient_credits",
"code": "QUOTA_EXCEEDED",
"message": "You have no Verety checks left. …",
"upgrade_url": "https://app.verety.ai/account#billing",
"topup_url": "https://app.verety.ai/account#billing-packs"
}
Limits
Each investigation uses one check. Checks come from your plan (renewed every billing period) and then from credit packs (credits never expire), shared between the app, the API and MCP — see them on the Account page. Requests per minute per key are set per plan. Searches, record lookups, lists, documents and tasks don't use checks. If you're building for volume, talk to us about higher limits.
Retries
429 — back off and retry. 5xx — retry once, then report it. Each investigation uses one check, so re-run one only when you need a new result — a kept check can be read again with GET /api/v1/checks/{id} for free.