Error reference
The error values every client receives, what causes them, and what to do about them.
The error values every client receives. For how to read them, see How Hub reports errors.
Does your client have detailed error reporting?Most clients don't. Look at an error redirect from Hub: if it includes a
cid, your client has detailed error reporting, and yourerror_descriptionvalues use a different format. They're listed in the Detailed error reference. The request errors and token and userinfo errors on this page apply to every client.Verified credentials clients always have detailed error reporting.
Standard error descriptions
Returned to every client in error_description, alongside error.
Values are URL-encoded in the URL.Document+RmeansDocument R, andUser+cancelledmeansUser cancelled. Most web frameworks decode query parameters for you, as in the examples below. If you read the raw URL yourself, decode it before comparing.
These values are assembled, not chosen from a list
Hub builds error_description from parts at the moment a verification fails. The set of possible values is therefore larger than any list we can publish, and it grows whenever a verification provider adds a failure reason.
So match defensively. Check how a value starts, or what it contains — don't compare against a fixed set:
d = request.args["error_description"]
if "could not be matched" in d:
handle_match_failure(d)
elif d.startswith("Document "):
handle_document_failure(d)
elif d.startswith("Verified.Me "):
handle_bank_failure(d)
else:
handle_generic_failure(d)const d = req.query.error_description;
if (d.includes("could not be matched")) {
handleMatchFailure(d);
} else if (d.startsWith("Document ")) {
handleDocumentFailure(d);
} else if (d.startsWith("Verified.Me ")) {
handleBankFailure(d);
} else {
handleGenericFailure(d);
}String d = ctx.queryParam("error_description");
if (d.contains("could not be matched")) {
handleMatchFailure(d);
} else if (d.startsWith("Document ")) {
handleDocumentFailure(d);
} else if (d.startsWith("Verified.Me ")) {
handleBankFailure(d);
} else {
handleGenericFailure(d);
}var d = ctx.Request.Query["error_description"].ToString();
if (d.Contains("could not be matched"))
HandleMatchFailure(d);
else if (d.StartsWith("Document "))
HandleDocumentFailure(d);
else if (d.StartsWith("Verified.Me "))
HandleBankFailure(d);
else
HandleGenericFailure(d);A value you don't recognise should fall through to a sensible default rather than throwing.
Whole-verification failures
When nothing more specific applies:
error | error_description | When |
|---|---|---|
access_denied | Service error | The verification failed |
access_denied | User cancelled | The user cancelled |
session_expired | The session has expired | The user ran out of time |
Timeouts don't useaccess_denied.session_expiredis its ownerrorvalue. If you only handleaccess_denied, timeouts fall through to your catch-all.
Service errorsounds like an outage, but it also covers a legitimately failed verification. Don't treat it purely as a system fault.
Step failures
When a particular step failed, the description names the step and its outcome:
<step prefix> <outcome>
| Step | Prefix |
|---|---|
| Document verification | Document |
| Bank verification | Verified.Me |
| Outcome | Meaning | Applies to |
|---|---|---|
completed | That step succeeded | Both |
cancelled | The user cancelled that step | Both |
error | A system error in that step | Both |
R | Document rejected | Document |
S | Document suspected | Document |
idv_expired | Document verification timed out | Document |
Combined, that gives values like Document R, Document idv_expired, Verified.Me cancelled and Verified.Me error.
Bank values (Verified.Me ...) only appear in dual mode and with subject matching. On a bank-only client, a failed bank verification or credit bureau check returns Service error.
Document RandDocument Sonly appear when Partial document results (allowPartialResults) isfalse. Set it totrueand you get the scan result and fraud flags at the userinfo endpoint instead. See Document verification.
Matching failures
If a step succeeded but its data couldn't be matched, the description gains a suffix:
but data could not be matched
| Example |
|---|
Verified.Me completed but data could not be matched |
Document completed but data could not be matched |
This is what a subject matching failure looks like on a standard client.
Dual mode
Dual mode reports the outcome of both verifications in one description, joined by and:
<bank verification result> and <document verification result>
| Example | Bank verification | Document verification |
|---|---|---|
Verified.Me cancelled and Document cancelled | Cancelled | Cancelled |
Verified.Me cancelled and Document R | Cancelled | Rejected |
Verified.Me completed and Document S | Completed | Suspected |
Verified.Me error and Document cancelled | System error | Cancelled |
Verified.Me completed and Document completed but data could not be matched | Completed | Completed, but didn't match |
Any outcome can pair with any other, so there are far more combinations than shown. This is exactly why you should match on the parts rather than the whole string.
These values containVerified.Me, the former name for the Interac Verification Service. The brand changed; the API strings did not. Match the literal value as returned — don't "correct" it to IVS in your code.
Not every dual-mode failure produces an error. When one verification succeeds, Hub often returns an authorization code and reports the failure in the claims instead. See Dual mode.
Request errors
These happen before the user sees anything, and mean your request was wrong. Returned to every client.
error | Cause | Fix |
|---|---|---|
invalid_scope | Scope not configured, or openid missing | Scopes |
invalid_request | Missing or malformed parameter | Starting a verification |
invalid_client | Signature validation failed | Signing keys and JWKS |
invalid_request_object | The request JWT is malformed | Starting a verification |
unauthorized_client | Client not authorised for this flow | Check with your representative |
jti_known | The jti was already used | Generate a new one per request |
insufficient_entropy | state or nonce too weak | Use a longer random value |
server_error | Internal error | Retry with backoff |
temporarily_unavailable | Service temporarily down | Retry later |
Token and userinfo errors
These come back as JSON from your server-to-server calls, not as redirect parameters.
error | When | Meaning |
|---|---|---|
invalid_grant | Token | The code is invalid, expired, already used, or doesn't match the redirect_uri |
request_unauthorized | UserInfo | Credentials missing or in the wrong format |
invalid_token | UserInfo | The access token has expired |
{
"error": "invalid_token",
"error_description": "Token expired. Access token expired at '2026-02-10 19:22:15 +0000 UTC'."
}Updated 3 days ago