Skip to content
veriffy
RUEN

Errors and limits

What an error response looks like, which codes occur, and how many requests you can send.

Error format

Every error comes in the same shape:

JSON
{
  "error": {
    "code": "steps_incomplete",
    "message": "some verification steps are not complete",
    "details": {"missing": ["selfie"]},
    "request_id": "4f1c0a9d2b7e4c1f"
  }
}
Field Description
code A stable error code. Your code can rely on it
message An explanation for the developer. The text may change
details Details, when there are any
request_id The request's number. It also comes in the X-Request-Id response header

If something goes wrong and you ask for help, include the request_id — the request is found by it at once.

Common codes

HTTP Code When
400 invalid_cursor The cursor value did not come from next_cursor
400 invalid_idempotency_key An unacceptable Idempotency-Key value
401 unauthorized No key, a wrong key, or a revoked key
403 forbidden The key lacks the scope
403 sandbox_only The method is available with a sandbox key only
404 not_found The object was not found in this environment
409 applicant_erased The applicant's data was erased; no verification can be created for them
409 not_decided The action is possible only after a decision
409 session_not_active The verification no longer accepts user input: it is decided or expired
409 invalid_transition That manual decision is not allowed from the current status. The allowed ones are in details.allowed
410 session_expired The verification has expired
410 media_purged The file was deleted when its retention period ended
413 file_too_large The file is larger than allowed
422 validation_error The request fields did not pass validation. What exactly is wrong is in details
422 applicant_required Pass exactly one of applicant_id or applicant
422 invalid_url An unacceptable callback_url or redirect_url
422 idempotency_key_reused The idempotency key was already used with a different request body
429 rate_limited The request limit is exceeded
500 internal_error An error on the VERIFFY side. The request can be repeated

The list is not exhaustive. Handle an unknown code by its HTTP status: 4xx is a problem with the request, 5xx can be retried later.

Request limits

Who Limit per minute
One API key 600 requests
One verification page 120 requests
Dashboard sign-in from one IP address 10 attempts

When a limit is exceeded you get 429 rate_limited with a Retry-After header — the number of seconds to wait.

How to retry

  • Retry 5xx errors and 429 with a growing pause: 1, 2, 4, 8 seconds.
  • Do not retry 4xx errors other than 429 unchanged — the result will be the same.
  • Add an Idempotency-Key to create requests: a retry will not create a duplicate.

Start typing: a section name, a parameter or an error code

↑↓ selectEnter openEsc close