Skip to content

Errors

Errors use RFC 9457 Problem Details with media type application/problem+json:

{
"type": "https://developers.auto-compliance.com/reference/errors/#unsupported_script",
"title": "Unsupported script",
"status": 422,
"code": "unsupported_script",
"detail": "full_name must be in Latin script.",
"errors": [{ "field": "full_name", "message": "Contains Cyrillic characters." }],
"instance": "req_01JD8QG6J8L0N2Q4S6U8W0Y2A4"
}

Branch on code, which is stable. title and detail are for humans and may change. Quote instance when contacting support.

Code Status Retry? Meaning
bad_request 400 No Malformed JSON or request.
unauthorized 401 No Missing, malformed or revoked API key.
forbidden 403 No The key cannot access this resource.
not_found 404 No Resource does not exist, or was not retained.
conflict 409 No Invalid state, for example cancelling a completed batch.
idempotency_key_reused 409 No Same Idempotency-Key with a different body.
payload_too_large 413 No More than 100,000 items or a file over 50 MB.
validation_error 422 No Field validation failed; see errors.
unsupported_script 422 No Name is not in Latin script.
rate_limited 429 Yes Too many requests; wait Retry-After seconds.
internal_error 500 Yes Unexpected error; retry with the same idempotency key.
service_unavailable 503 Yes Temporary unavailability; retry with backoff.