Troubleshooting

Find your problem by symptom and fix it.

Organised by what you're seeing, not by error code. Find your symptom.

📘

Can't find your symptom?

See Getting help for what to send Interac support. The most useful thing you can include is the state value from the request, so make sure you log it.

Nothing arrives at my callback

The user finishes at Hub but your redirect_uri is never called.

CheckDetail
Is the URI registered?It must be registered during onboarding. Unregistered URIs mean Hub shows the user an error page instead of redirecting.
Does it match exactly?Scheme, host, port, path and trailing slash must all match. https://x.com/cb ≠ https://x.com/cb/
Does it contain a #?Fragments are rejected. Register the plain URL and route on the fragment afterwards.
Using a custom scheme?myapp://cb can't be registered. See Mobile apps.
Using an IP address?Use a hostname. IP literals are blocked before the request reaches Hub.

I get a plain HTML 403 Forbidden

An HTML body with a Server: awselb/2.0 header is not a Hub error — Hub always returns JSON. Your request was blocked at the edge.

CauseFix
redirect_uri uses an IP addressUse a hostname. This is the most common cause.
redirect_uri contains a # fragmentRemove it
Calling preprod from an unapproved networkConfirm your egress IPs with your representative

I get invalid_scope

CauseFix
openid missing or not firstopenid document_scope, in that order
Wrong scope nameUse the exact string from onboarding. See Scopes.
Scope not enabled for this clientAsk your representative
Works in preprod, fails in productionYour production client may have a different scope name

Hub rejects my signature

invalid_client, or an audience error.

CheckDetail
Is kid in the JWT header?Required. It tells Hub which key to use.
Is your JWKS URL reachable from the internet?Hub must be able to fetch it. Not behind a firewall or VPN.
Does the key at that URL match your signing key?The public half of the pair you signed with
Is alg set to RS256?Other algorithms aren't accepted
Is aud right for the call you're making?This is the common one — see below

The aud trap

aud is different in the two places you sign something:

Whereaud value
Request object (Step 2)The issuer from discovery, e.g. {hub_base_url}/
Client assertion (Step 4)The token_endpoint URL, e.g. {hub_base_url}/oauth2/token

Copying one into the other is the single most common cause of rejected signatures. Note the trailing slash on issuer — it's part of the value.

I get invalid_grant at the token step

CauseFix
The code was already usedCodes are single-use. Check you aren't retrying.
The code expiredExchange it immediately on redirect
redirect_uri doesn't match Step 2Must be byte-identical
Your callback runs twiceBrowser prefetch or a double-submit. Make the handler idempotent.

A claim I expected is missing

This is usually not a bug.

CheckDetail
Is it best-effort?address, email, phone_number, middle_name, title, honorific may be empty, "N/A" or absent. See Bank verification.
Is it in your bundle?Claims are fixed at onboarding. Confirm what your client has.
Passport?Passports carry no address, so no postal code.
Prefixed name?com.securekey.verified.me.ui_locale — the full dotted name is the key.
Select mode?Bank and document verification return different claims. Branch on source.
Verified credentials?Fields the source document doesn't carry are null, such as residence for a passport.

My code breaks on some users but not others

Almost always unavailable best-effort claims. Depending on the user's bank, a valid verification can return address as an empty string, as "N/A", or not at all.

Test with responses where address, email and phone_number are empty strings, "N/A", and absent.

error_description looks like gibberish

It's URL-encoded. Decode it first:

err%3Auser_cancelled%24details%3A... → err:user_cancelled$details:...

See How Hub reports errors.

I only get error=access_denied with no useful detail

Check error_description — it's always returned alongside error, and it's the parameter that tells you what actually happened. Nearly every flow failure uses access_denied as the error value, so branching on error alone tells you nothing.

Remember it's URL-encoded: Document+R decodes to Document R.

If you're after a correlation ID, a match score or document fraud flags, those come from detailed error reporting — an optional capability subject to commercial agreement. Raise it with your Interac representative if your use case depends on them.

Document scans keep failing

scan_resultWhat it meansWorth a retry?
REJECTED + image_qualityPoor photoYes
REJECTED + document_expirationExpired documentNo, unless Expired documents (allowExpiredDocs) is true
REJECTED + supported_documentDocument type not enabled for your clientNo
SUSPECTED + face_matchSelfie didn't match the photoDepends on your policy

You only see flags if Partial document results (allowPartialResults) is true. Otherwise you get Document+R or Document+S with no detail. See Document verification.

Verified credentials

SituationWhat to do
The user doesn't have the Interac verification appThey download it, then return to your website to continue. Tell them what they'll need before you redirect them.
The user installed the app but didn't come back to your websiteSend login_hint with their email or phone number, so they can continue in the app
login_hint fails with invalid_requestIt must be a JSON-encoded string with valid values, sent with POST /auth/par. See Verified credentials.
You get err:no_match_foundNo credential matched the request. Offer to try again, or another way to verify.
A credential has expiredCheck issuance.issue_expiry before relying on it. See Credential expiry.

Subject matching always fails

CheckDetail
Are you using PAR?Subject matching requires POST /auth/par. It silently won't work with GET /auth.
Right fields?default_KYC matches given_name, family_name, birthdate, address.postal_code. Everything else is ignored.
Right formats?birthdate as YYYY-MM-DD, postal code as A1A 1A1
Passport users?No postal code on a passport, so that attribute scores 0
Using dual mode or verified credentials?Not supported. See Subject matching.

It works in preprod but not production

CheckDetail
Different client ID?Each environment has its own client ID. Check you're using the production one.
Different scope name?Scope names are per client
Hardcoded endpoints?Read them from discovery
Redirect URI registered in production?Registration is per environment
JWKS URL reachable from production?Different network path

Getting help

Include these when you contact support:

  1. The environment
  2. Your client ID
  3. The state value — see below
  4. Roughly when it happened, with a timezone
  5. The error value and, if present, the decoded error_description
  6. The cid, if your client receives one

Always keep your state values

state is the most useful thing you can give us. Hub records it the moment your request arrives, before any verification starts, so support can use it to find the internal job. In the verified credentials flow it maps to the cid as well.

That makes it the one identifier that still works when things fail early:

SituationDo you have a cid?Do you have state?
Verification failed, you got a redirectOnly with detailed error reportingYes
The user abandoned the flow and never came backNoYes
Your request was rejected before any redirectNoYes
POST /auth/par returned 400NoYes
❗️

Log state against your session and keep it. You already generate a unique state per verification for security reasons — see Step 2. Storing it next to your own request ID costs nothing, and it's often the difference between support tracing your transaction quickly or not at all.

📘

Include the cid too if you have one — it identifies the exact transaction. But don't wait until you have one before asking for help.