Skip to main content

Didit ID Verification Declined or In Review: Warning Codes 2026

A Didit ID document check is Declined when a hard warning fires and In Review when a person has to decide. Read the first warning's description, fix the capture, and route In Review to your manual queue.

Didit ID Verification Declined or In Review: Warning Codes 2026

Contents

In this guide

Jump to the part you need.

This page is for teams whose user was just Declined or left In Review on a Didit ID document check, and for the developer who has to turn that answer into a next step. The ID document check costs $0.15 inside a workflow and $0.20 per completed standalone call. The caveat: the status tells you the outcome, not the reason. Read the warnings array before you tell a user anything.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

What each Didit session status means

Every session starts at Not Started and ends in a decision or a timeout. These are exact strings from GET /v3/session/<id>/decision/ and from every Didit webhook, so compare them with strict matching. They are case sensitive and they contain spaces.

Didit ID document check statuses and the next action at a glance
StatusWhat it means on a document checkWhat to do
Not StartedThe session exists, the user has not opened the link.Wait, or send a reminder.
In ProgressThe user is in the flow, capturing the document or the selfie.No action.
ApprovedEvery check passed.Grant access, store the decision.
In ReviewAutomated checks raised warnings that need a person.Send it to your manual review queue. Do not approve.
DeclinedAt least one check failed and the warning is terminal.Show the first warning's description, then resubmit only if the cause is fixable.
AbandonedThe user started and did not finish inside the window.Create a new session or send a reminder.
Kyc ExpiredA previously Approved session whose document passed its expiry date.Re-verify the person with the new document.

The table covers the statuses you will meet on a document check. The enum also includes Awaiting User for KYB parent sessions waiting on parties, Resubmitted when a user is asked to redo specific steps, and Expired when a session times out before the user opens the link.

Start free in our sandbox at business.didit.me, with no sales call, and connect Didit to an AI assistant through the MCP server. Module prices sit on didit.me/pricing, and the field-level detail for a document report is in the ID verification documentation.

Didit Business Console: session detail id document
Didit Business Console: session detail id document

What each Didit ID verification warning code means

Each entry in id_verifications[].warnings carries a risk code and a long_description written for the person who has to act on it. Read the status and the warning text from the response body, not from the HTTP code alone, and interpret each code with its documented warning description rather than guessing from its name. The catalogue below covers the codes you will meet most often on a document check.

Didit ID verification warning codes, typical status and first fix
Warning codeWhat it meansStatus you usually seeFirst fix
DOCUMENT_EXPIREDThe expiry date on the document has already passed.DeclinedThe document is not usable. Ask for a current one.
INVALID_MRZThe Machine Readable Zone failed its format or check-digit validation.Declined when invalid_mrz_action is DECLINE, otherwise informationalRetake with the full MRZ band visible and no glare.
INCONSISTENT_DATAThe visual zone and the MRZ disagree, for example on the name or the document number.Declined when inconsistent_data_action is DECLINE, otherwise informationalRetake flat on a dark surface, then inspect both zones in the Console.
COULD_NOT_RECOGNIZE_DOCUMENTThe image could not be processed as a document at all.Declined in a workflow, or HTTP 400 on the standalone callRetake with all four corners visible, uncropped, under 5 MB.
DOCUMENT_LIVENESS_FAILEDThe forgery check found a screen replay, a printed copy or portrait manipulation.DeclinedCapture the physical document live, not a photo of a screen or a photocopy.
MIN_AGE_NOT_REACHEDThe holder is below the minimum_age your request or workflow set.DeclinedNothing to fix on the image. Handle it as an age-policy decision.
MAX_AGE_EXCEEDEDThe holder is above the maximum age you set.DeclinedSame as above, it is a policy outcome.
EXPIRATION_DATE_NOT_DETECTEDNo expiry date could be read from the document.Set by expiration_date_not_detected_actionCapture the back side of two-sided documents so the date is readable.
DUPLICATED_DOCUMENTThe same document has already appeared in another session.InformationalOpen the session and read it together with your face search results.
FRAUD_RISK_FROM_OCRA fraud risk signal came out of the OCR layer.Read the warning detailInspect the document images in the Console before deciding.
COUNTRY_NOT_ALLOWEDThe issuing country is outside the countries your workflow allows.Declined by your configurationChange the workflow allowlist or route the user to another flow.
DOCUMENT_TYPE_NOT_ALLOWEDThe document type is outside the types your workflow allows.Declined by your configurationAdd the type to the workflow, or ask for a supported one.
DOCUMENT_LIVENESS_NOT_COMPUTEDThe forgery check returned no usable score, so nothing was proven about the document.In ReviewTreat the document as unchecked and send it to manual review.

The status shown in the table is the usual outcome, not a guarantee. Workflow configuration and the complete decision decide the final status, especially for informational warnings.

Two behaviours separate documented endpoint behaviour from workflow behaviour. The standalone POST /v3/id-verification/ call never produces PORTRAIT_IMAGE_NOT_DETECTED, INVALID_DATE or MRZ_NOT_DETECTED, which belong to workflow sessions. In the other direction, that endpoint returns COULD_NOT_DETECT_DOCUMENT_TYPE when the front image does not match a known official design with high confidence, and that declines the call. Three risk groups are configurable per request on the standalone endpoint and per workflow on a session: invalid_mrz_action, inconsistent_data_action and expiration_date_not_detected_action, each DECLINE or NO_ACTION. Fraud and hard-failure risks always decline, whatever you set.

Inputs and outputs when you debug a declined session

What you send to read a decision, and what comes back
ItemWhere it comes fromNotes
session_idPOST /v3/session/ or the ConsoleA UUID. Didit resolves user and business sessions with the same path.
x-api-keyBusiness Console API keysThe key needs the read:sessions privilege, otherwise you get HTTP 403.
front_image, back_imageYour own capture, for the standalone APIRequired for dual-sided documents. Max 5 MB per file. Do not pre-crop.
invalid_mrz_action, inconsistent_data_action, expiration_date_not_detected_actionYour request or workflow settingsEach is DECLINE or NO_ACTION.
statusThe responseOne exact string from the status enum.
id_verifications[].warnings[]The responseOne entry per issue, each with a code and a long_description.
decision_trace.status_warningsThe responseShows how the status was reached and whether a person or the automaton decided.

Prerequisites before you debug

  • An API key with read:sessions, created in the Business Console.
  • The session id you want to inspect.
  • The risk settings that produced the decision: invalid_mrz_action, inconsistent_data_action, expiration_date_not_detected_action, minimum_age, and whether perform_document_liveness was on.
  • A manual review queue, with reviewer access to the Console for the In Review cases.
  • Credit: $0.15 per ID document check inside a workflow, $0.20 per completed standalone ID verification API call. Free plans include $10 of monthly credit, and sandbox testing is free.

Step by step: read the status, surface the warning, route the case

  1. Fetch the decision. Call the session decision endpoint with your key, as shown below. Use the webhook payload instead when you already receive it.
  2. Branch on session_kind before you read anything else. Document results live under id_verifications[], and that array exists only for session_kind: "user".
  3. Stop at Approved. Nothing else on the page applies. Store the decision data and move on.
  4. Read the warnings array and take the first entry. The first warning is the one to act on. Do not concatenate every code into one message for the user.
  5. Surface the first warning's long_description. The docs ask for exactly this, in the user's words, instead of a translated error code.
  6. Map the code to a fix using the table above, and decide whether a resubmission can plausibly pass.
  7. Route In Review to a human. The docs are explicit: do not approve the user while the session is in review. A reviewer approves, declines or requests a resubmission in the Console.
  8. Treat DOCUMENT_LIVENESS_NOT_COMPUTED as unchecked. A check that did not run is not evidence that the document is genuine, so the case goes to the manual queue rather than to Approved.
  9. Resubmit only fixable codes. Glare, a missing corner and a new document are user-side fixes. Age policy and a blocked country are not.

Step 1, fetch the decision:

curl https://verification.didit.me/v3/session/<SESSION_ID>/decision/ \
  -H "x-api-key: <API_KEY>"

A minimal handler that does steps 4 to 8:

const decision = await (await fetch(
  "https://verification.didit.me/v3/session/" + sessionId + "/decision/",
  { headers: { "x-api-key": process.env.DIDIT_API_KEY } }
)).json();

if (decision.session_kind !== "user") return handleBusiness(decision);

const doc = (decision.id_verifications || [])[0];
if (!doc) return { outcome: "no_document_step" };

const first = (doc.warnings || [])[0];

if (doc.status === "Declined") {
  return { outcome: "declined", code: first?.code, message: first?.long_description };
}
if (doc.status === "In Review") {
  return { outcome: "manual_review", code: first?.code, unchecked: first?.code === "DOCUMENT_LIVENESS_NOT_COMPUTED" };
}
return { outcome: "approved" };

Expected output

A readable but problematic document returns HTTP 200 with status: "Declined" and the warning that caused it. Always inspect the body, not just the HTTP code.

{
  "request_id": "...",
  "id_verification": {
    "status": "Declined",
    "document_type": "PASSPORT",
    "expiration_date": "2031-04-18",
    "warnings": [
      {
        "code": "INVALID_MRZ",
        "log_type": "warning",
        "long_description": "The machine readable zone could not be validated..."
      }
    ]
  }
}

Failure cases and recovery

Didit ID verification failures and the recovery path
What you seeWhat happenedRecovery
HTTP 400 with COULD_NOT_RECOGNIZE_DOCUMENTThe image could not be processed as a document at all.Recapture uncropped, all four corners in frame, under 5 MB, then retry.
HTTP 400 with multipart field errorsA missing back_image on a dual-sided document, a file over 5 MB, or an unsupported extension.Send the allowed formats tiff, jpg, jpeg, png, webp or pdf, and add the back side.
HTTP 403 not enough creditsThe balance cannot cover the call, so nothing was processed.Top up at business.didit.me and retry. No image work was done.
HTTP 403 permission errorThe key lacks read:sessions, or it was used from outside its IP list.Read the response body, then fix the key scope or the IP list.
HTTP 429A rate limit or quota was reached.Wait for Retry-After, then retry.
In Review with DOCUMENT_LIVENESS_NOT_COMPUTEDThe forgery provider failed or answered with no usable score.Manual review. Do not read the silence as a pass.

Error bodies do not share one envelope, so read them defensively before you branch on a code:

const raw = await response.text();
let body = {};
try { body = JSON.parse(raw); } catch { }
const message = body.detail ?? body.error ?? raw;

Didit ID verification failed with an unreadable MRZ: retake with stronger light

INVALID_MRZ means the Machine Readable Zone failed format or check-digit validation. Glare, shadows, fingers or angled captures can make the MRZ difficult to read. Retake the document flat, with the full MRZ visible and no glare. If the workflow runs with invalid_mrz_action=DECLINE, the code declines the session and the user sees the long_description, so a clean retake can resolve a capture-related MRZ failure. If your workflow runs the softer setting, the code stays informational and you should still inspect the session before approving.

An expired document is a different case. DOCUMENT_EXPIRED is a hard failure and no retake of the same document helps. The same goes for a passport that expired during the session window, which is why an Approved session can later move to Kyc Expired when the verified document passes its expiry date.

In Review with DOCUMENT_LIVENESS_NOT_COMPUTED: why the check did not return Approved

With perform_document_liveness=true, the images are screened for screen replays, printed copies and portrait manipulation. When that forgery check returns no usable score, because the provider failed, answered non-200, or answered 200 with an error status, the call returns HTTP 200 with status: "In Review" and a DOCUMENT_LIVENESS_NOT_COMPUTED warning. A check that did not run is not evidence that the document is genuine, so we escalate the session instead of approving it. That escalation is not configurable and it never overrides a Declined. Your job is to treat the document as unchecked and put it in front of a reviewer who can look at the images.

A session overview with its warnings in the Didit Business Console.
A session overview with its warnings in the Didit Business Console.

HTTP 400 COULD_NOT_RECOGNIZE_DOCUMENT: how to fix rejected uploads

A document that cannot be processed at all returns HTTP 400 with {"error": "COULD_NOT_RECOGNIZE_DOCUMENT"}. That is different from a readable but problematic document, which returns HTTP 200 with status: "Declined". Common documented causes include uncropped images, missing corners, oversized files, and unsupported extensions. Send the uncropped original and let the service detect, align and crop. Put the documented file rules next to your upload widget so people send the right file the first time. The docs tie the API charge to a 200 response, so a 400 means the image was never read.

To reproduce and confirm a fix, run the standalone call. It returns the extracted fields, the parsed MRZ and the warnings list in one response:

curl -X POST 'https://verification.didit.me/v3/id-verification/' \
  -H 'x-api-key: YOUR_API_KEY' \
  -F 'front_image=@./id_front.jpg' \
  -F 'back_image=@./id_back.jpg' \
  -F 'perform_document_liveness=true' \
  -F 'minimum_age=18' \
  -F 'expiration_date_not_detected_action=DECLINE' \
  -F 'invalid_mrz_action=DECLINE' \
  -F 'inconsistent_data_action=DECLINE' \
  -F 'save_api_request=true' \
  -F 'vendor_data=user-123'

HTTP 403 not enough credits and HTTP 400 multipart errors

These two are infrastructure errors, not identity outcomes. When the organization's balance cannot cover the call, the ID verification endpoint answers HTTP 403 with a not-enough-credits error before any image processing, so nothing was checked. On session creation the same condition surfaces as HTTP 400 with a detail that points to billing. Do not show either to the end user. Alert on it internally, top up, and retry.

HTTP 400 with field errors means the multipart request itself was wrong: a missing back_image for a dual-sided document, a file over 5 MB, or an extension outside the allowed list. Fix the request and retry. If your key is scoped, a 403 can also mean the key has no access to the endpoint, which is a different fix from topping up.

We bill per completed check, from prepaid credit. Inside a workflow the ID document line is $0.15. A standalone ID verification API call costs $0.20 per completed check. A full KYC check is $0.33: ID document $0.15, passive liveness $0.10, face match 1:1 $0.05, device and IP analysis $0.03. The bill follows the response: each HTTP 200 from the standalone endpoint consumes one ID Verification API credit, paid from your plan credit or top-up balance. The boundary between automation and people is the decision itself. The samples on this page stop at the routing decision. A session that lands in In Review is decided by a reviewer in the Console, and your code should not approve an In Review session before manual review.

Worked cost example

Take 1,000 users who each complete a full KYC check, and suppose 90 of them are declined on a capture warning and you re-run the document as a standalone call before asking for a resubmission.

  • Full KYC per check: $0.15 + $0.10 + $0.05 + $0.03 = $0.33.
  • 1,000 checks x $0.33 = $330.00.
  • 90 standalone calls x $0.20 per completed check = $18.00.
  • Total at list price: $330.00 + $18.00 = $348.00.

On the Growth plan every Didit price is 4% lower: $330.00 x 0.96 = $316.80 and $18.00 x 0.96 = $17.28, so $334.08. The declined attempt and the retake are two separate checks, so budget for both when you size a flow. On the Free plan, the $10 of monthly credit covers roughly 30 full KYC checks at $0.33, and sandbox testing costs nothing.

Sources

Next step: open the free sandbox at business.didit.me, create a session with an ID verification step, force a Declined case with a bad capture, and watch the warning code arrive in your webhook. No sales call needed.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What does Declined mean on a Didit ID verification?

Declined means one or more document checks failed and at least one warning resolved to a decline, such as DOCUMENT_EXPIRED, DOCUMENT_LIVENESS_FAILED or an extraction failure. The webhook and the decision endpoint both carry the full warnings list with the reason. Surface the first warning's long_description and stop the flow.

Why is my Didit verification in review instead of approved?

In Review means automated checks raised warnings that need a person. The usual document case is DOCUMENT_LIVENESS_NOT_COMPUTED, where the forgery check produced no usable score, so the document counts as unchecked. A reviewer then approves, declines or requests a resubmission in the Console. Do not approve the user while the session sits in review.

What does DOCUMENT_LIVENESS_FAILED mean?

The forgery screen found evidence of a screen replay, a printed copy or portrait manipulation on the document images. It is a hard failure, so the session is Declined. The fix is a live capture of the physical document in good light, never a photo of a monitor or a photocopy.

What does INCONSISTENT_DATA mean on a document check?

The visual zone and the MRZ disagree, for example on a name spelling or a document number. Whether that declines depends on your inconsistent_data_action setting, which is DECLINE or NO_ACTION. Inspect both zones in the Console before you ask the user to resubmit, because legitimate field differences still need a reviewer's eye.

How do I fix an unreadable MRZ on a retake?

The MRZ failed format or check-digit validation. Glare, shadows, fingers or angled captures can make the MRZ difficult to read. Retake the document flat, with the full MRZ visible and no glare.

Can a user pass with an expired document?

No. DOCUMENT_EXPIRED is a hard failure and no retake of that document changes it. The person needs to verify with a current document, and an Approved session later moves to Kyc Expired when the verified document passes its expiry date.

What does HTTP 400 COULD_NOT_RECOGNIZE_DOCUMENT mean?

The image could not be processed as a document at all, so the standalone endpoint returned HTTP 400 with an error body instead of a decision. Common documented causes include uncropped images, missing corners, oversized files, and unsupported extensions. Send the uncropped original in tiff, jpg, jpeg, png, webp or pdf.

What does HTTP 403 not enough credits mean on Didit?

The organization's balance could not cover the call, so the check did not run and no image processing happened. It is a billing condition, not an identity outcome, so it should alert your team rather than reach the user. Top up and retry; note that on session creation the same condition appears as HTTP 400.

Which Didit statuses can my code see?

The exact strings are Not Started, In Progress, Approved, In Review, Declined, Awaiting User, Resubmitted, Expired, Abandoned and Kyc Expired. They are case sensitive and contain spaces, so use strict string comparison. Kyc Expired uses a single capital K.

How many warning codes does ID verification return?

The catalogue covers twelve document-level risk codes plus DOCUMENT_LIVENESS_NOT_COMPUTED for the unchecked forgery case. Three of them are configurable per request through invalid_mrz_action, inconsistent_data_action and expiration_date_not_detected_action. Fraud and hard-failure risks always decline, whatever you set.

How much does it cost to re-run a declined document check?

A standalone ID verification API call costs $0.20 per completed check, and an ID document check inside a workflow is $0.15. A 200 response from the standalone call consumes one credit. On Growth both prices are 4% lower, $0.192 and $0.144, and on Scale 10% lower, $0.18 and $0.135. Sandbox testing is free and unlimited.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.