Why a verification is refused, what the user sees, and what you do.
verify() tells you about problems in two ways:
The verification didn’t start.verify() throws SdkError.Refused in Swift or SdkException.Refused in Kotlin, with a code from the table below. Except for not_configured, the SDK has already shown the user its refusal screen, so your app doesn’t need to show another. Any other error also means it didn’t start, and the SDK has shown its refusal screen for it too.
A platform failed. The verification ran, and verify() returns normally. That platform’s status is failed, and your server gets the details by webhook. See A platform that failed.
Never retry automatically. Don’t call verify() again behind the user’s back. After a refusal or a failure, the user chooses whether to start again.
The refusal screen reads “This device can’t be verified” for device_not_verified, and “Verification isn’t available right now” for every other code. You can change both texts with the refusal.device and refusal.otherstrings.
Code
When
What you do
not_configured
verify() ran before Zktls.configure. The user sees nothing: verify() throws at once
Call Zktls.configure when your app launches
app_key_invalid
Cr3dentials doesn’t recognise the app key, or the app is no longer active
Check the key you pass to configure. Contact us if it is the one we sent you
device_not_verified
A live key, on a device that didn’t pass App Attest or Play Integrity. For example: the iOS Simulator or an Android emulator; a build run from Xcode or an ad hoc build, or one installed from Android Studio or as an APK, unless we allow development builds for your app; a phone without Google Play services; a build whose bundle ID, Team ID or package name isn’t the one you registered; or an outage of Apple’s or Google’s service
While you develop, use the test key. Test the live key as in Before you submit for iOS and Android. If a real user gets it, their device can’t be verified. They can use another device
attest_key_unknown
Cr3dentials doesn’t know this iPhone’s App Attest key. The SDK registers the key again and retries once by itself, so you only see this code if that fails too
Treat it as device_not_verified. Report it if it repeats
platforms_invalid
The platform list is empty, has more than 10 ids, lists an id twice, or has an id that isn’t 1 to 64 of A-Z, a-z, 0-9, ., _ and -
Fix the list
platform_unavailable
A platform isn’t enabled for your app, doesn’t exist, isn’t attested, or takes inputs. With a test key, any platform but zktls-demo. The message names the platform
Pass only platforms enabled for your app. Ask us to enable more
reference_invalid
The reference isn’t 1 to 128 characters of A-Z, a-z, 0-9, ., _ and -
Fix the reference. It must hold no personal data either
token_invalid
verify(token:) got a token that is unknown, already used, more than 15 minutes old, or made for another app key (for example a token made with your live key, in an app configured with your test key). A start refused after the token was read, such as with platform_unavailable, also uses it up
Have your server create a new token for each verification, and use it straight away
limit_reached
An hourly limit was reached: 10 verifications per install with a live key (30 with a test key), or your app’s limit (1,000 by default with a live key, 100 with a test key). Also our request rate limit, and the limit on device checks for one app or one network
The user tries again later. Contact us if your app’s limit is too low
account_inactive
Your team can’t start verifications: its trial is used up, its subscription has lapsed, or it hasn’t accepted the terms of service. The message says which. Test-key verifications don’t count against a trial
Sign in to the dashboard and accept the terms, or contact us about your plan
request_invalid
The SDK sent a request Cr3dentials couldn’t read. Your code can’t cause this
Update the SDK. Report it with the message if it repeats
unavailable
Cr3dentials couldn’t start the verification just now, on our side
The user tries again in a little while. Report it if it lasts
platforms_invalid, platform_unavailable, reference_invalid and token_invalid come from your code or your setup, so fix them before you release. account_inactive comes from your account.
do { let outcome = try await Zktls.verify(platforms, reference: reference) // …} catch SdkError.Refused(let code, let message) { switch code { case "not_configured": assertionFailure("call Zktls.configure at launch") case "device_not_verified", "attest_key_unknown": break // this device couldn't be verified case "limit_reached", "unavailable": break // the user can try again later default: report(code, message) // yours: a setup problem to fix }} catch { // The verification couldn't start, for example without a network. The SDK has shown its screen.}
try { val outcome = Zktls.verify(activity, platforms, reference = reference) // …} catch (e: SdkException.Refused) { when (e.code) { "not_configured" -> Log.e("Verify", "BUG, fix before release: call Zktls.configure at launch") "device_not_verified", "attest_key_unknown" -> {} // this device couldn't be verified "limit_reached", "unavailable" -> {} // the user can try again later else -> report(e.code, e.message) // yours: a setup problem to fix }} catch (e: SdkException) { // The verification couldn't start, for example without a network. The SDK has shown its screen.} catch (e: CancellationException) { throw e // your scope was cancelled: let it through} catch (e: Exception) { report("internal", e.toString()) // an internal error from the SDK: report it to us}
Any other SdkError or SdkException case means the verification couldn’t start, most often Transport when the phone can’t reach Cr3dentials. The SDK has already shown its refusal screen (“Verification isn’t available right now”) for it too, unless your app cancelled the call, so you don’t need to show another. Let the user start again when they choose. Once a verification has started, verify() returns an outcome however its platforms end, and doesn’t throw.
When a platform fails, the SDK shows ” couldn’t be verified” and moves on to the next platform. Then:
verify() returns that platform with the status failed, and a reason for your logs.
Your server gets that platform’s platform.finished webhook with "status": "failed", "result": null and an error object with a code and a message. See Webhooks.
A platform the SDK handed to an attester is done in the outcome. If its result then never reaches Cr3dentials, the run fails about 2 hours after the verification started, with the error code no_result, and its webhook says so. This needs your app to have reported the hand-off at the end of the flow. If it was killed or offline before then, and no result arrives, the platform ends as not_started in verification.finished, with no platform.finished.To try a failed platform again, the user starts a new verify() with that platform.
Email info@cr3dentials.xyz with the SDK version, the device and OS, the refusal code or the platform’s reason, the time, and the verificationId. Never send your Partner API key, your webhook secret, cookies or user data.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cr3dentials","description":"Verify income, work history, and reputation from any web-based account with zkTLS and zero-knowledge proofs.","colors":{"primary":"#0E7C5A","light":"#34D399","dark":"#0B5E45"},"logo":{"light":"https://mintcdn.com/cr3dentials/O6kntRM8hd-oatSo/logo/logo.png?fit=max\u0026auto=format\u0026n=O6kntRM8hd-oatSo\u0026q=85\u0026s=3198bf6d0f4a22efc4487d2f91613366","dark":"https://mintcdn.com/cr3dentials/O6kntRM8hd-oatSo/logo/logo.png?fit=max\u0026auto=format\u0026n=O6kntRM8hd-oatSo\u0026q=85\u0026s=3198bf6d0f4a22efc4487d2f91613366"},"favicon":"https://mintcdn.com/cr3dentials/FcltKHEbWn3W04O8/favicon.svg?fit=max\u0026auto=format\u0026n=FcltKHEbWn3W04O8\u0026q=85\u0026s=716788b87f63a0b4b8d96758565c1706","navbar":{"links":[{"href":"https://app.cr3dentials.xyz","label":"Dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.cr3dentials.xyz"}},"footer":{"socials":{"website":"https://cr3dentials.xyz"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cr3dentials","hasAudioNarration":false,"actualSubdomain":"cr3dentials","customDomains":["docs.cr3dentials.xyz"],"gitSource":{"type":"github","owner":"cr3dentials","repo":"cr3dentials-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6add4c7e54c8444688b683a7","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"API Reference","count":13},{"language":"default","tag":"Partner API","count":11},{"language":"default","tag":"Sessions","count":6},{"language":"default","tag":"Mobile SDK","count":5},{"language":"default","tag":"API Integration","count":4},{"language":"default","tag":"Platforms","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Overview","count":2},{"language":"default","tag":"Resources","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"sdk/errors","slug":"/sdk/errors","pageMetadata":{"title":"Errors","description":"Why a verification is refused, what the user sees, and what you do.","href":"/sdk/errors"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Why a verification is refused, what the user sees, and what you do.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`verify()`}),` tells you about problems in two ways:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The verification didn’t start.`}),` `,_jsx(_components.code,{children:`verify()`}),` throws `,_jsx(_components.code,{children:`SdkError.Refused`}),` in Swift or `,_jsx(_components.code,{children:`SdkException.Refused`}),` in Kotlin, with a `,_jsx(_components.code,{children:`code`}),` from the table below. Except for `,_jsx(_components.code,{children:`not_configured`}),`, the SDK has already shown the user its refusal screen, so your app doesn’t need to show another. Any other error also means it didn’t start, and the SDK has shown its refusal screen for it too.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A platform failed.`}),` The verification ran, and `,_jsx(_components.code,{children:`verify()`}),` returns normally. That platform’s status is failed, and your server gets the details by webhook. See `,_jsx(_components.a,{href:`#a-platform-that-failed`,children:`A platform that failed`}),`.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Never retry automatically.`}),` Don’t call `,_jsx(_components.code,{children:`verify()`}),` again behind the user’s back. After a refusal or a failure, the user chooses whether to start again.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`refusal-codes`,children:`Refusal codes`}),`\n`,_jsxs(_components.p,{children:[`The refusal screen reads “This device can’t be verified” for `,_jsx(_components.code,{children:`device_not_verified`}),`, and “Verification isn’t available right now” for every other code. You can change both texts with the `,_jsx(_components.code,{children:`refusal.device`}),` and `,_jsx(_components.code,{children:`refusal.other`}),` `,_jsx(_components.a,{href:`/sdk/ios#5-theme-and-strings`,children:`strings`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`}),_jsx(_components.th,{children:`What you do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_configured`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`verify()`}),` ran before `,_jsx(_components.code,{children:`Zktls.configure`}),`. The user sees nothing: `,_jsx(_components.code,{children:`verify()`}),` throws at once`]}),_jsxs(_components.td,{children:[`Call `,_jsx(_components.code,{children:`Zktls.configure`}),` when your app launches`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`app_key_invalid`})}),_jsx(_components.td,{children:`Cr3dentials doesn’t recognise the app key, or the app is no longer active`}),_jsxs(_components.td,{children:[`Check the key you pass to `,_jsx(_components.code,{children:`configure`}),`. Contact us if it is the one we sent you`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`device_not_verified`})}),_jsx(_components.td,{children:`A live key, on a device that didn’t pass App Attest or Play Integrity. For example: the iOS Simulator or an Android emulator; a build run from Xcode or an ad hoc build, or one installed from Android Studio or as an APK, unless we allow development builds for your app; a phone without Google Play services; a build whose bundle ID, Team ID or package name isn’t the one you registered; or an outage of Apple’s or Google’s service`}),_jsxs(_components.td,{children:[`While you develop, use the test key. Test the live key as in Before you submit for `,_jsx(_components.a,{href:`/sdk/ios#before-you-submit`,children:`iOS`}),` and `,_jsx(_components.a,{href:`/sdk/android#before-you-submit`,children:`Android`}),`. If a real user gets it, their device can’t be verified. They can use another device`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`attest_key_unknown`})}),_jsx(_components.td,{children:`Cr3dentials doesn’t know this iPhone’s App Attest key. The SDK registers the key again and retries once by itself, so you only see this code if that fails too`}),_jsxs(_components.td,{children:[`Treat it as `,_jsx(_components.code,{children:`device_not_verified`}),`. Report it if it repeats`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`platforms_invalid`})}),_jsxs(_components.td,{children:[`The platform list is empty, has more than 10 ids, lists an id twice, or has an id that isn’t 1 to 64 of `,_jsx(_components.code,{children:`A-Z`}),`, `,_jsx(_components.code,{children:`a-z`}),`, `,_jsx(_components.code,{children:`0-9`}),`, `,_jsx(_components.code,{children:`.`}),`, `,_jsx(_components.code,{children:`_`}),` and `,_jsx(_components.code,{children:`-`})]}),_jsx(_components.td,{children:`Fix the list`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`platform_unavailable`})}),_jsxs(_components.td,{children:[`A platform isn’t enabled for your app, doesn’t exist, isn’t attested, or takes inputs. With a test key, any platform but `,_jsx(_components.code,{children:`zktls-demo`}),`. The message names the platform`]}),_jsx(_components.td,{children:`Pass only platforms enabled for your app. Ask us to enable more`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_invalid`})}),_jsxs(_components.td,{children:[`The reference isn’t 1 to 128 characters of `,_jsx(_components.code,{children:`A-Z`}),`, `,_jsx(_components.code,{children:`a-z`}),`, `,_jsx(_components.code,{children:`0-9`}),`, `,_jsx(_components.code,{children:`.`}),`, `,_jsx(_components.code,{children:`_`}),` and `,_jsx(_components.code,{children:`-`})]}),_jsx(_components.td,{children:`Fix the reference. It must hold no personal data either`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`token_invalid`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`verify(token:)`}),` got a token that is unknown, already used, more than 15 minutes old, or made for another app key (for example a token made with your live key, in an app configured with your test key). A start refused after the token was read, such as with `,_jsx(_components.code,{children:`platform_unavailable`}),`, also uses it up`]}),_jsx(_components.td,{children:`Have your server create a new token for each verification, and use it straight away`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limit_reached`})}),_jsx(_components.td,{children:`An hourly limit was reached: 10 verifications per install with a live key (30 with a test key), or your app’s limit (1,000 by default with a live key, 100 with a test key). Also our request rate limit, and the limit on device checks for one app or one network`}),_jsx(_components.td,{children:`The user tries again later. Contact us if your app’s limit is too low`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`account_inactive`})}),_jsx(_components.td,{children:`Your team can’t start verifications: its trial is used up, its subscription has lapsed, or it hasn’t accepted the terms of service. The message says which. Test-key verifications don’t count against a trial`}),_jsx(_components.td,{children:`Sign in to the dashboard and accept the terms, or contact us about your plan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`request_invalid`})}),_jsx(_components.td,{children:`The SDK sent a request Cr3dentials couldn’t read. Your code can’t cause this`}),_jsx(_components.td,{children:`Update the SDK. Report it with the message if it repeats`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unavailable`})}),_jsx(_components.td,{children:`Cr3dentials couldn’t start the verification just now, on our side`}),_jsx(_components.td,{children:`The user tries again in a little while. Report it if it lasts`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`platforms_invalid`}),`, `,_jsx(_components.code,{children:`platform_unavailable`}),`, `,_jsx(_components.code,{children:`reference_invalid`}),` and `,_jsx(_components.code,{children:`token_invalid`}),` come from your code or your setup, so fix them before you release. `,_jsx(_components.code,{children:`account_inactive`}),` comes from your account.`]}),`\n`,_jsx(Heading,{level:`2`,id:`handling-a-refusal`,children:`Handling a refusal`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Swift`,numberOfLines:`13`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`do`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` outcome `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Zktls.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`verify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(platforms, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`reference`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: reference)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // …`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` SdkError.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Refused`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` code, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` message) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` switch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` code {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"not_configured\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` assertionFailure`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call Zktls.configure at launch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"device_not_verified\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"attest_key_unknown\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // this device couldn't be verified`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"limit_reached\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unavailable\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // the user can try again later`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` report`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(code, message) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// yours: a setup problem to fix`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // The verification couldn't start, for example without a network. The SDK has shown its screen.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Kotlin`,numberOfLines:`17`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` outcome `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Zktls.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`verify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(activity, platforms, reference `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` reference)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // …`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (e: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`SdkException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.Refused) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` when`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (e.code) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"not_configured\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` ->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Log.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Verify\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BUG, fix before release: call Zktls.configure at launch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"device_not_verified\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"attest_key_unknown\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` ->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {} `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// this device couldn't be verified`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"limit_reached\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unavailable\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` ->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {} `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the user can try again later`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` else`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` ->`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` report`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(e.code, e.message) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// yours: a setup problem to fix`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (e: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`SdkException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // The verification couldn't start, for example without a network. The SDK has shown its screen.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (e: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CancellationException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` throw`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` e `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// your scope was cancelled: let it through`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (e: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` report`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"internal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, e.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// an internal error from the SDK: report it to us`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`other-errors`,children:`Other errors`}),`\n`,_jsxs(_components.p,{children:[`Any other `,_jsx(_components.code,{children:`SdkError`}),` or `,_jsx(_components.code,{children:`SdkException`}),` case means the verification couldn’t start, most often `,_jsx(_components.code,{children:`Transport`}),` when the phone can’t reach Cr3dentials. The SDK has already shown its refusal screen (“Verification isn’t available right now”) for it too, unless your app cancelled the call, so you don’t need to show another. Let the user start again when they choose. Once a verification has started, `,_jsx(_components.code,{children:`verify()`}),` returns an outcome however its platforms end, and doesn’t throw.`]}),`\n`,_jsx(Heading,{level:`2`,id:`a-platform-that-failed`,children:`A platform that failed`}),`\n`,_jsxs(_components.p,{children:[`When a platform fails, the SDK shows ”`,` couldn’t be verified” and moves on to the next platform. Then:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`verify()`}),` returns that platform with the status failed, and a `,_jsx(_components.code,{children:`reason`}),` for your logs.`]}),`\n`,_jsxs(_components.li,{children:[`Your server gets that platform’s `,_jsx(_components.code,{children:`platform.finished`}),` webhook with `,_jsx(_components.code,{children:`\"status\": \"failed\"`}),`, `,_jsx(_components.code,{children:`\"result\": null`}),` and an `,_jsx(_components.code,{children:`error`}),` object with a `,_jsx(_components.code,{children:`code`}),` and a `,_jsx(_components.code,{children:`message`}),`. See `,_jsx(_components.a,{href:`/essentials/webhooks#verification-events`,children:`Webhooks`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A platform the SDK handed to an attester is `,_jsx(_components.code,{children:`done`}),` in the outcome. If its result then never reaches Cr3dentials, the run fails about 2 hours after the verification started, with the error code `,_jsx(_components.code,{children:`no_result`}),`, and its webhook says so. This needs your app to have reported the hand-off at the end of the flow. If it was killed or offline before then, and no result arrives, the platform ends as `,_jsx(_components.code,{children:`not_started`}),` in `,_jsx(_components.code,{children:`verification.finished`}),`, with no `,_jsx(_components.code,{children:`platform.finished`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`To try a failed platform again, the user starts a new `,_jsx(_components.code,{children:`verify()`}),` with that platform.`]}),`\n`,_jsx(Heading,{level:`2`,id:`getting-help`,children:`Getting help`}),`\n`,_jsxs(_components.p,{children:[`Email `,_jsx(_components.a,{href:`mailto:info@cr3dentials.xyz`,children:`info@cr3dentials.xyz`}),` with the SDK version, the device and OS, the refusal code or the platform’s `,_jsx(_components.code,{children:`reason`}),`, the time, and the `,_jsx(_components.code,{children:`verificationId`}),`. Never send your Partner API key, your webhook secret, cookies or user data.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Errors","description":"Why a verification is refused, what the user sees, and what you do.","href":"/sdk/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Refusal codes","slug":"refusal-codes","depth":2,"children":[]},{"title":"Handling a refusal","slug":"handling-a-refusal","depth":2,"children":[{"title":"Other errors","slug":"other-errors","depth":3,"children":[]}]},{"title":"A platform that failed","slug":"a-platform-that-failed","depth":2,"children":[]},{"title":"Getting help","slug":"getting-help","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cr3dentials","siteName":"Cr3dentials","title":"Errors - Cr3dentials","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T22:25:42.111Z","originalFileLocation":"sdk/errors.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Why a verification is refused, what the user sees, and what you do.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cr3dentials\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Errors - Cr3dentials\">\u003cmeta data-mint-head property=\"og:description\" content=\"Why a verification is refused, what the user sees, and what you do.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cr3dentials\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cr3dentials.xyz/sdk/errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cr3dentials.mintlify.site/_mintlify/api/og/v2?division=Mobile+SDK\u0026amp;title=Errors\u0026amp;description=Why+a+verification+is+refused%2C+what+the+user+sees%2C+and+what+you+do.\u0026amp;theme=a9003998f537e6716ff36359\u0026amp;signature=d3e5ce279f1fdd9472c5425f11b5905819d75a137c9f9ce23f5d5499056e4655\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Errors - Cr3dentials\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Why a verification is refused, what the user sees, and what you do.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cr3dentials.mintlify.site/_mintlify/api/og/v2?division=Mobile+SDK\u0026amp;title=Errors\u0026amp;description=Why+a+verification+is+refused%2C+what+the+user+sees%2C+and+what+you+do.\u0026amp;theme=a9003998f537e6716ff36359\u0026amp;signature=d3e5ce279f1fdd9472c5425f11b5905819d75a137c9f9ce23f5d5499056e4655\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cr3dentials/JT5wDt13hfbIYOMg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cr3dentials\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E7C5A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cr3dentials.xyz/sdk/errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk/errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cr3dentials.xyz/#organization\",\"name\":\"Cr3dentials\",\"url\":\"https://docs.cr3dentials.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cr3dentials/O6kntRM8hd-oatSo/logo/logo.png?fit=max\u0026auto=format\u0026n=O6kntRM8hd-oatSo\u0026q=85\u0026s=3198bf6d0f4a22efc4487d2f91613366\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cr3dentials.xyz#website\",\"name\":\"Cr3dentials\",\"url\":\"https://docs.cr3dentials.xyz\",\"publisher\":{\"@id\":\"https://docs.cr3dentials.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cr3dentials.xyz/sdk/errors#webpage\",\"url\":\"https://docs.cr3dentials.xyz/sdk/errors\",\"name\":\"Errors\",\"description\":\"Why a verification is refused, what the user sees, and what you do.\",\"dateModified\":\"2026-10-24T22:25:42.111Z\",\"isPartOf\":{\"@id\":\"https://docs.cr3dentials.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cr3dentials.xyz/sdk/errors#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cr3dentials.xyz/sdk/errors#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Mobile SDK\",\"item\":\"https://docs.cr3dentials.xyz/sdk/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Errors\",\"item\":\"https://docs.cr3dentials.xyz/sdk/errors\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cr3dentials.xyz/sdk/errors#article\",\"headline\":\"Errors\",\"name\":\"Errors\",\"description\":\"Why a verification is refused, what the user sees, and what you do.\",\"url\":\"https://docs.cr3dentials.xyz/sdk/errors\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cr3dentials.xyz/sdk/errors#webpage\"},\"dateModified\":\"2026-10-24T22:25:42.111Z\",\"publisher\":{\"@id\":\"https://docs.cr3dentials.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cr3dentials.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cr3dentials\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cr3dentials\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sdk/errors.md","siteName":"Cr3dentials","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"How Cr3dentials Works","href":"/getting-started/how-it-works"},{"title":"Quickstart","href":"/getting-started/quickstart"}]},{"group":"Partner Portal","pages":[{"title":"Partner Portal Guide","href":"/guides/partner-portal"}]},{"group":"API Integration","pages":[{"title":"API Integration Guide","href":"/guides/api-integration"},{"title":"Authentication","href":"/authentication"},{"title":"Webhooks","href":"/essentials/webhooks"},{"title":"Rate Limits","href":"/essentials/rate-limits"}]},{"group":"Mobile SDK","pages":[{"title":"Mobile SDK","href":"/sdk/overview"},{"title":"iOS","href":"/sdk/ios"},{"title":"Android","description":"Add the Cr3dentials SDK to an Android app and get your first test webhook in under 30 minutes.","href":"/sdk/android"},{"title":"Errors","href":"/sdk/errors"},{"title":"Release checklist","description":"Everything to settle between your first SDK build and your app's store release.","href":"/sdk/release-checklist"}]},{"group":"Platforms","pages":[{"title":"Supported Data Sources","href":"/platforms/supported-data-sources"}]},{"group":"Security \u0026 Privacy","pages":[{"title":"System Architecture","href":"/security/architecture"},{"title":"Data Handling \u0026 Privacy","href":"/security/data-handling"}]},{"group":"Resources","pages":[{"title":"FAQ","href":"/resources/faq"},{"title":"Contact Us","href":"/resources/contact"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Errors - Cr3dentials","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":[],"chunks":[]}