Skip to content
RDCpassRDCpassMinistère de l’Économie NumériqueMinistère de l’Économie Numérique
API reference : Errors
On this page

Errors

Every status code and error code the RDCPASS API returns, what causes it, and how to react.

Error format

Every error response carries a machine-readable error string — branch on it, never on message, which is human-readable and may change. Some errors add context fields (for example scope or retry_after). Include request_id when contacting support.

403 Forbidden
{
  "error": "scope_not_allowed",
  "message": "The scope kyc.religion is not granted to application app_8f2a1c0e9b.",
  "scope": "kyc.religion",
  "request_id": "req_3f9a2c71d4e8"
}

Contract to be confirmed by the API team.

Requests rejected with a 4xx or 5xx error are never billed — see Billing.

Error codes

Every request ends with one of these 31 results; the console’s log shows all of them. Only production requests the register answered are billed: not_found at the base price, an idempotent replay never. Everything is free in test.

Answers

The register answered. In production, these requests are counted, except the free ones.

verifiedVerifiedBilled in production
The person or business exists and is verified.
not_certifiedAccount not certifiedBilled in production
The account exists without being certified: only its account data is returned.
not_foundNot foundBase price
No identity matches. It is an answer, counted at the base price.
matchFace matchBilled in production
The face matches the identity on record.
no_matchNo face matchBilled in production
The face does not match the identity on record.
above_thresholdOver the age thresholdBilled in production
The person has the requested age or more. Nothing else is disclosed.
below_thresholdUnder the age thresholdBilled in production
The person does not have the requested age. Nothing else is disclosed.
no_hitNo AML/CTF hitBilled in production
No match on the sanctions, PEP and adverse lists.
hitAML/CTF hitBilled in production
A match exists: the response gives the risk level.
scoredScore computedBilled in production
The credit score and band are returned.
report_createdReport receivedFree
The fraud case is recorded; its status will change afterwards.
authenticatedUser signed inPer monthly active user
The citizen approved: your application receives their basic KYC.
idempotent_replayIdempotent replayFree
The same request was already processed: its response is replayed, at no cost.

Consent and face

The citizen, their consent or their face image do not allow an answer.

liveness_failedLiveness check failedNot billed
The image fails the liveness check. Ask for a new capture.
multiple_facesSeveral faces detectedNot billed
Send an image with a single face.

Request refused

The request is refused before processing. Fix it: it is not billed.

invalid_identifierMalformed identifierNot billed
The identifier must follow the COD-XXXX-XXXX-XXXX format.
invalid_requestInvalid requestNot billed
The request is incomplete or malformed. Open it in the console’s request log.
invalid_signatureInvalid signatureNot billed
Check the credential set: active, from the right environment, exact secret.
scope_not_allowedScope not allowedNot billed
Subscribe the organization to the scope, then select it for the application.
purpose_not_declaredPurpose not declaredNot billed
Declare this purpose for the application, in the console.

Account, quotas and balance

The application, its quota, its rate or the organization’s balance blocks the call.

application_suspendedApplication suspendedNot billed
The application’s access is suspended. See its Production access tab.
quota_exceededQuota exceededNot billed
Wait for midnight UTC, or request an increase: three business days.
rate_limitedRate limit reachedNot billed
Stay under 10 requests per second, bursting to 30 at most.
insufficient_balanceInsufficient balanceNot billed
Top up the organization’s wallet, Business plan.
credit_limit_reachedCredit limit reachedNot billed
The Enterprise credit limit is reached. See the credit position.

RDCpass errors

An error on the RDCpass side. It is never billed.

internal_errorInternal errorNot billed
Try again later and check the service status.
service_unavailableService unavailableNot billed
Try again later and check the service status.
upstream_timeoutTimed outNot billed
The register did not answer in time. Try again later.

HTTP status codes

StatusCauseWhat to do
400 Bad RequestThe request body is malformed, a required field is missing, or an identifier is invalid.Fix the payload and retry. Check the error code for the specific field.
401 UnauthorizedThe HMAC signature is invalid or missing, the timestamp is outside the 5-minute window, or the nonce has already been used (replay).Re-sign with a fresh timestamp and nonce — see Authentication.
402 Payment RequiredYour prepaid wallet is empty (insufficient_balance) or your postpaid credit limit is reached (credit_limit_reached).Top up the wallet or contact your Financial officer. Not a rate limit — retrying will not help until billing is resolved.
403 ForbiddenThe mTLS certificate and signing secret resolve to different applications, or the application lacks access: service not enabled, scope not allowed, purpose not declared, consent missing, or no production access.Read the error code — each one is listed below with its fix.
404 Not FoundThe job, batch or resource id does not exist for this application, or its results have passed the 30-day retention period.Check the id and the environment (test or production) you are calling.
413 Payload Too LargeA synchronous batch contains more than 50 items, or an asynchronous batch more than 10,000.Send it asynchronously with Prefer: respond-async, or split it.
422 Unprocessable EntityThe request is well-formed but the submitted image cannot be processed — quality, face count or liveness.Capture a new image and retry. See the biometrics error codes below.
429 Too Many RequestsEither a short-lived burst guard or a per-service quota — two different response shapes, see below.Back off per retry_after, or wait for the quota reset.
500 Internal Server ErrorAn internal error on RDCPASS's side.Safe to retry with the same Idempotency-Key. Contact support if it persists.
502 Bad GatewayThe identity register itself was unreachable while processing the request.Safe to retry with the same Idempotency-Key.

429 versus 402

A 429 means slow down and it will clear on its own; a 402 means a billing action is required and retrying will not help. Check the error field to tell the two 429 shapes apart. Full mechanics are in Rate limits & quotas.

rate_limited — burst guard

You're sending requests faster than the per-second burst limit allows. Wait retry_after and retry.

429 Too Many Requests
{
  "error": "rate_limited",
  "retry_after": "2s"
}

quota_exceeded — per-service quota

You've used this application's full allowance for the service. Retrying sooner than reset_at won't help — check current usage from the console, or use upgrade_url to request a higher quota.

429 Too Many Requests
{
  "error": "quota_exceeded",
  "service": "kyc_validation",
  "calls_used": 1000,
  "calls_limit": 1000,
  "reset_at": "2026-09-27T00:00:00Z",
  "upgrade_url": "https://console.rdcpass.cd/applications/app_8f2a1c0e9b/usage"
}

insufficient_balance — prepaid wallet empty

Returned with status 402. A Financial officer tops up the wallet from top_up_url; calls succeed again as soon as the balance is credited.

402 Payment Required
{
  "error": "insufficient_balance",
  "message": "Your prepaid wallet balance is too low for this request.",
  "balance": { "value": 0, "currency": "USD" },
  "top_up_url": "https://console.rdcpass.cd/billing/wallet"
}

Contract to be confirmed by the API team.

The four Login with RDCPASS endpoints don’t use this error format at all

Everything on this page describes the standard RDCPASS error shape. The OpenID Connect endpoints behind Login with RDCPASS are the one exception — they return standard OAuth 2.0 error codes instead (error/error_description, as a redirect query parameter or a JSON body depending on which step failed), documented in full on that page rather than repeated here.
Esc