Skip to content
Every photo now comes with a sealed evidence PDF
Docs Errors and limits

Errors and limits

Errors use HTTP status codes and one JSON shape. Program against code; message is written for people and can change.

Error body
{
  "error": {
    "code": "invalid_phone",
    "message": "Enter the phone number with its country code, for example +20 100 123 4567.",
    "request_id": "rid_tA1n7Pq0…"
  }
}

Codes

StatusCodeMeaning
401unauthorizedMissing, malformed, wrong or revoked key.
402plan_requiredLive mode needs an active plan.
402quota_exceededThis month's live captures are used up.
402test_quota_exceededThis month's test captures are used up.
403ip_not_allowedThe key is limited to other IP addresses.
403test_key_requiredThe simulator works only with a test key.
404not_foundNo such object in this account and mode.
405method_not_allowedWrong HTTP method for this path.
409not_openOnly open requests can be canceled.
409request_closedThe request is no longer open.
409not_readyThe capture is not sealed yet.
409live_requestLive requests cannot be simulated.
409idempotency_in_progressThe first call with this Idempotency-Key is still running.
409already_has_credentialsThe photo already carries Content Credentials.
409unsupported_formatContent Credentials are added to JPEG photos only.
422invalid_templateUnknown template.
422invalid_shotsNo usable shots.
422invalid_phoneThe phone number could not be read.
422invalid_emailThe email address is not valid.
422invalid_idempotency_keyThe Idempotency-Key header is too long or has invalid characters.
422idempotency_mismatchThe Idempotency-Key was used with a different body.
422invalid_hashNot a SHA-256 hex string.
429rate_limitedToo many requests. See Retry-After.
500server_errorOur fault. Safe to retry; quote the request_id if it persists.

When to retry

  • Retry 429 after Retry-After seconds, and 5xx or network errors with growing delays.
  • Do not retry 4xx errors other than 429 without changing the request.
  • Send an Idempotency-Key on POST /v1/requests so a retry never creates a duplicate.