Skip to content

Errors

Errors are returned as application/problem+json (RFC 9457):

{
"type": "https://maticna.si/docs/errors/invalid_tax_number",
"title": "Invalid tax number",
"status": 422,
"detail": "12345679 fails the mod-11 check.",
"instance": "/v1/entities/12345679",
"code": "invalid_tax_number",
"request_id": "req_01JB2Q8X6S7T",
"errors": [{ "field": "tax_number", "code": "checksum" }]
}
  • Branch on code, not on title or detail (those are translated and may change).
  • type is the URL of the page explaining the code.
  • request_id equals the X-Request-Id header. Include it when you contact us.
  • title and detail follow Accept-Language: sl|en; English is the default.
  • New codes can appear at any time; handle an unknown code by its HTTP status.
  • 4xx and 5xx errors are not billed, except a 404 on a well-formed identifier (Billable units).
StatusCodeMeaning
400bad_requestBad request
400key_in_query_forbiddenAPI key in query string is forbidden
401missing_api_keyMissing API key
401invalid_api_keyInvalid API key
401key_revokedAPI key revoked
401key_expiredAPI key expired
401test_keys_removedTest keys were discontinued
402payment_requiredPayment required
403insufficient_scopeInsufficient scope
403plan_upgrade_requiredPlan upgrade required
403origin_not_allowedOrigin not allowed
403monitor_limit_reachedMonitor limit reached
403webhook_endpoint_limit_reachedWebhook endpoint limit reached
403ip_not_allowedIP address not allowed
404not_foundNot found
404not_vat_registeredNot VAT registered
409cursor_expiredCursor expired
409idempotency_conflictIdempotency key reused with a different request
422invalid_tax_numberInvalid tax number
422invalid_vat_idInvalid VAT ID
422invalid_registration_numberInvalid registration number
422query_too_shortQuery too short
422invalid_webhook_urlInvalid webhook URL
429rate_limitedRate limited
429quota_exceededQuota exceeded
429natural_person_cap_exceededDaily natural-person lookup cap exceeded
500internal_errorInternal error
503upstream_staleData temporarily stale
503search_timeoutSearch timed out

Source: FURS · unofficial source, not an official extract · Terms · Privacy · maticna.si