Skip to main content

Technical

Didit Liveness Check Failed: Warning Codes and Fixes

Each Didit liveness warning has a severity. Error codes decline the check: <code>LOW_LIVENESS_SCORE</code>, <code>NO_FACE_DETECTED</code>, <code>LIVENESS_FACE_ATTACK</code> and blocklist hits.

Didit Liveness Check Failed: Warning Codes and Fixes

Contents

In this guide

Jump to the part you need.

This guide is for developers and operations teams whose Didit liveness step returned a warning code instead of an approval. It explains what LOW_LIVENESS_SCORE, NO_FACE_DETECTED and LIVENESS_FACE_ATTACK actually mean, what each one does to the session status, and the fix we recommend. Passive Liveness costs $0.10 per check inside a session and $0.10 per call on the standalone API. The caveat up front: most liveness declines are the model doing its job, not a bug to route around.

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

Didit liveness warning codes, severity, effect on the session and the fix
CodeSeverityWhat it meansEffect on statusFix
LOW_LIVENESS_SCOREerrorLiveness score at or below face_liveness_score_decline_threshold, default 30DeclinedFix capture conditions, retry, then review the threshold with evidence
NO_FACE_DETECTEDerrorThe liveness model found no face in the imageDeclinedAsk for a new capture with one face, framed and lit
LIVENESS_FACE_ATTACKerrorThe model detected a presentation attack: a print, a replay, a mask or a deepfakeDeclined, do not approveStop the flow, do not retry in a loop, send to manual review
MULTIPLE_FACES_DETECTEDwarningMore than one face in the frameNo decline by itselfAsk for a retry with a single subject
FACE_IN_BLOCKLIST and POSSIBLE_FACE_IN_BLOCKLISTerrorThe face matches an entry on your own face blocklistDeclinedBlock, or route to manual review per your policy
DUPLICATED_FACE and POSSIBLE_DUPLICATED_FACEinformationThe same face already appeared in another approved sessionNever declinesLog it as a fraud signal and keep the decision

Start free in the sandbox at business.didit.me, with no sales call. The methods and their settings are documented on the Didit liveness page, the one-shot endpoint is in the Passive Liveness API reference, developers connecting Didit to an AI assistant can use the Didit MCP server, and every unit price is on the pricing page.

The outcome you want, and the method we recommend

The outcome is a liveness decision you can defend: a real person approved, a presentation attack declined, and every other case routed to a path your policy already covers. Two routes reach that outcome and they are not interchangeable.

  • Session-based flow for anything a user walks through. The workflow's LIVENESS feature runs the method you pick with face_liveness_method: PASSIVE, ACTIVE_3D or FLASHING. You read the result from liveness_checks[] on the decision payload or from the session.status.updated webhook. For higher-risk onboarding we recommend ACTIVE_3D or FLASHING, because our method documentation describes them as adding a randomized action sequence or light-pattern depth cues on top of the frame model. That is our recommendation, not a universal requirement.
  • Standalone passive liveness when you already hold a selfie and want a one-shot server-to-server answer at POST https://verification.didit.me/v3/passive-liveness/. Same warning vocabulary, one image in, one score and warning list out.

Our recommendation is the session route for end users and the standalone route for back-office re-checks, because the session route records the documented decisions, statuses, warnings and retry settings in one place. Liveness reaches 99.9% accuracy with a false acceptance rate under 0.1%, and the anti-spoofing technology holds iBeta Level 1 and Level 2 presentation attack detection. Those numbers describe the model at its operating point, not a promise that every capture in the world is classifiable.

Didit Business Console: session detail liveness
Didit Business Console: session detail liveness

Prerequisites

  • An application API key sent in the x-api-key header. A missing key or a key without access returns 403; a wrong, malformed or revoked key returns 401.
  • A workflow that includes the liveness feature, with face_liveness_method set, and a liveness node id you can match later in node_id.
  • A decision from GET /v3/session/{sessionId}/decision/ or from a status.updated webhook, which return the same feature objects.
  • For the standalone route: one front-facing face image as user_image in tiff, jpg, jpeg, png or webp, maximum 5 MB. PDFs are not accepted.
  • A written policy for blocklist hits and duplicates. The codes tell you what happened; your policy decides what you do about it.

Step by step

  1. Validate the request shape in the sandbox first. Sandbox API keys skip processing and billing: after validation the endpoint returns a static Approved payload, no session is persisted and no credits are consumed. Malformed input still returns 400 there, so the sandbox proves your multipart call and your parsing. It cannot reproduce a decline, because the mock is always Approved. Reproduce declines with live keys and real capture conditions.
  2. Send a documented liveness request. Use only the fields in the API reference. This is the exact standalone call from our docs:
    curl -X POST 'https://verification.didit.me/v3/passive-liveness/' \
    -H 'x-api-key: YOUR_API_KEY' \
    -F 'user_image=@./selfie.jpg' \
    -F 'save_api_request=true' \
    -F 'vendor_data=user-123'
    save_api_request defaults to true, which persists the call as an API-type session, stores the reference image and face crop, and enrolls the detected face in your face search index. Set it to false for a one-shot check that stores nothing and enrolls nothing; blocklist and duplicate screening still run either way.
  3. Read the feature report, not only the top-level status. Fetch the decision and look inside liveness_checks[]:
    curl https://verification.didit.me/v3/session/SESSION_ID/decision/ \
    -H "x-api-key: API_KEY"
    Each entry carries status, node_id, score, warnings[], face_quality and face_luminance. Branch on the feature report, not on a screenshot of the user's screen.
  4. Classify each warning by its log_type. Three values exist: error, warning and information. Only error-severity codes produce a Declined status on the liveness check. Read risk as the stable key and additional_data for the numbers behind it, which is where you find the score and the threshold that produced the decision.
  5. Apply the recovery path for that exact code. NO_FACE_DETECTED and MULTIPLE_FACES_DETECTED are capture problems: ask for one well-framed face and let the user try again. A low face_luminance on a LOW_LIVENESS_SCORE can indicate a capture-lighting issue, while a soft image points at focus or motion instead. LIVENESS_FACE_ATTACK is a suspected attack and must not be approved. FACE_IN_BLOCKLIST is your own list speaking; route it to review or block it, never to a retry loop.
  6. Control retries explicitly. The workflow setting face_liveness_max_attempts caps how many attempts a user gets. It defaults to 3 and accepts 1 to 3. The attempt carries attempts_used against max_attempts, and the retry prompt is driven by feedback codes such as LOW_FACE_LUMINANCE, so the user is told what to change instead of being asked to try again blindly.
  7. Handle transport failures apart from biometric ones. An HTTP 403 means out of credits, and it returns before any image processing, so nothing was analysed and nothing was billed. An HTTP 400 means a missing user_image, a file over 5 MB, or an unsupported extension. A 429 is the shared write budget of 300 requests per minute per API key. None of those three is a liveness verdict, so never record them as one.
  8. Tune the decline threshold only with evidence. face_liveness_score_decline_threshold defaults to 30 and decides where LOW_LIVENESS_SCORE fires. Any change should be evaluated against labelled outcomes from your own declines before you ship it, and recorded with a date so a reviewer can reconstruct why a session passed or failed.

Expected output

The standalone response is one object with a request_id and a liveness object. Inside a session, the same content arrives as an entry in liveness_checks[]. The shape below uses only documented fields; the description strings come from the risk catalogue, and additional_data varies by risk code.

{
  "request_id": "b0f1c7a2-...",
  "liveness": {
    "status": "Declined",
    "method": "PASSIVE",
    "score": 22,
    "user_image": { "entities": {}, "best_angle": null },
    "warnings": [
      {
        "feature": "LIVENESS",
        "risk": "LOW_LIVENESS_SCORE",
        "additional_data": { "score": 22, "threshold": 30 },
        "log_type": "error",
        "short_description": "...",
        "long_description": "...",
        "node_id": "liveness_1"
      }
    ],
    "face_quality": 38,
    "face_luminance": 21
  }
}

A Declined here is a normal 200 response, not an error. It means the model looked at a usable image and reached a negative verdict. That distinction matters for both your code and your invoice.

Two status fields matter and they are not the same thing. The status inside a liveness report is a feature-level value, while the top-level status on the decision is the parent session status. The parent status can differ from the feature status: a liveness check can read Declined while In Review is a possible parent outcome, because our statuses documentation puts a session in In Review when automated checks raised warnings that a person has to settle. The docs do not spell out this exact combination, so plan for it as a possible outcome rather than a guaranteed one. Read both, and report the one your policy acts on.

Diagram of Didit session statuses moving from Not Started to Approved, In Review or Declined
How a Didit session moves between statuses: automated checks lead to Approved, In Review or Declined, and a reviewer settles the In Review cases.

Failure cases and recovery

What each failure looks like and what to do next
FailureWhat you seeRecovery
Out of creditsHTTP 403 with the top-up messageTop up in the Business Console and resend. No image was processed.
Bad image payloadHTTP 400, missing or oversized user_image, unsupported extensionFix the file: jpg, jpeg, png, tiff or webp, 5 MB or less, no PDFs
Rate limitHTTP 429Wait for Retry-After. The budget is 300 write requests per minute per key.
No faceNO_FACE_DETECTED, errorNew capture, one face, inside the frame guide
More than one faceMULTIPLE_FACES_DETECTED, warningAsk for a solo retry. This code does not decline the check on its own.
Suspected spoofLIVENESS_FACE_ATTACK, errorDo not approve, do not auto-retry. Send it to a reviewer and keep the evidence.
Weak captureLOW_LIVENESS_SCORE, errorImprove light and framing, retry within the attempt limit, then look at face_quality and face_luminance
Blocklist hitFACE_IN_BLOCKLIST or POSSIBLE_FACE_IN_BLOCKLIST, errorBlock or review per policy. Screening runs on every call, with or without save_api_request.
Repeat faceDUPLICATED_FACE or POSSIBLE_DUPLICATED_FACE, informationLog as a fraud signal. These never decline a session.

One detail saves a lot of support tickets: faces that share the same vendor_data are excluded from the index search. Re-running liveness for the same user does not fire DUPLICATED_FACE, and a blocklisted face coming from a session under the caller's own vendor_data is not flagged either. If a duplicate warning surprises you, check what you send as vendor_data before you check the model.

Inputs and outputs

Fields you send and fields you read for a liveness check
FieldDirectionNotes
user_imageinputRequired on the standalone route. tiff, jpg, jpeg, png, webp, 5 MB maximum.
save_api_requestinputDefault true. True persists the call as an API session and enrolls the face. False is one-shot.
vendor_datainputYour user reference. Same-value faces are excluded from duplicate and blocklist matching.
face_liveness_methodinput, workflowPASSIVE, ACTIVE_3D or FLASHING.
face_liveness_score_decline_thresholdinput, workflowDefault 30. The line where LOW_LIVENESS_SCORE fires.
face_liveness_max_attemptsinput, workflowDefault 3, range 1 to 3.
statusoutputFeature-level value: Not Started, In Progress, Approved, In Review, Declined, Abandoned, Kyc Expired. Exact, case-sensitive strings.
scoreoutput0 to 100 liveness score.
warnings[]outputObjects with feature, risk, log_type, additional_data, node_id.
face_quality, face_luminanceoutput0 to 100, nullable. The fastest explanation for a weak capture.
attempts_used, max_attempts, feedback_codesoutputRetry counters and the reason shown to the user, for example LOW_FACE_LUMINANCE.

Each 200 response on Passive Liveness consumes one credit, and that includes a Declined verdict, because the model did the work. A 403 from an empty balance returns before any image processing, so it costs nothing. Sandbox keys never bill. Inside a session, liveness is one line of the check: Passive Liveness at $0.10, Active Liveness at $0.15, face match at $0.05 and the ID document at $0.15.

The review boundary is the status value, not the warning. A clean pass ends at Approved. A Declined is final unless a reviewer requests a resubmission, which moves the session to Resubmitted and lets the user redo specific steps. In Review means automated checks raised warnings a person must settle, and a reviewer then approves, declines or requests a resubmission. Keep your own code out of that gap: if your integration silently re-runs a session on LIVENESS_FACE_ATTACK until it returns Approved, you have built a bypass, not a retry.

Worked cost example

Take a standalone re-check flow where a fifth of users need a second capture. Prices are the published list prices, and the arithmetic is shown in full.

  • One passive liveness API call: $0.10. Three attempts on the same user: 3 x $0.10 = 30 cents.
  • 1,000 standalone calls in a month: 1,000 x $0.10 = $100.00.
  • The same 1,000 users inside a full KYC check: 1,000 x $0.33 = $330.00, and that $0.33 is $0.15 ID document + $0.10 passive liveness + $0.05 face match 1:1 + $0.03 device and IP = $0.33.
  • The same full KYC on Scale, where every Didit price is 10% off: $0.33 x 0.90 = $0.297 per check, so 1,000 checks cost $297.00.

Read the numbers in the direction your business needs. The workflow setting face_liveness_max_attempts caps a user at 3 attempts by default, range 1 to 3, and every 200 response is billable, including a Declined one, so build the retry budget into the plan. A bad capture policy wastes users and credits, and the users are the expensive part.

Sources

The next step is a sandbox run: create an application at business.didit.me, run the passive liveness call with a real selfie, then replay the same capture through a hosted session and compare the warning lists. No sales call is required, and if you are moving off another provider, the migration notes live at didit.me/switch.

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 LIVENESS_FACE_ATTACK mean in Didit?

LIVENESS_FACE_ATTACK is an error-severity warning that means the liveness model detected a presentation attack in the submitted image, such as a printed photo, a screen replay, a mask or a deepfake. It sets the liveness status to Declined, and our documentation is explicit that such a session must not be approved. Do not retry it automatically. Send it to manual review and keep the evidence.

Why did my Didit liveness check fail with LOW_LIVENESS_SCORE?

LOW_LIVENESS_SCORE means the computed liveness score landed at or below your decline threshold, which defaults to 30 on a 0 to 100 scale. Check face_quality, face_luminance and the additional_data on the warning, because a soft image and low luminance are the usual causes. Fix the capture, retry within the attempt limit, and only then consider the threshold.

What is face_liveness_score_decline_threshold and what is the default?

It is the score line at which a passive liveness result is declined, and the default is 30. It is a workflow setting, so two workflows in the same application can run different thresholds. Evaluate any change against labelled outcomes from your own declines before you ship it, and record the date of the change.

What does NO_FACE_DETECTED mean and how do I fix it?

NO_FACE_DETECTED is an error-severity warning that means the liveness model found no face in the submitted image, so there was nothing to score. It declines the check. The fix is a new capture: one person, face inside the frame guide, even light, and an image file that is not a PDF and not over 5 MB.

Does MULTIPLE_FACES_DETECTED decline a Didit session?

No. MULTIPLE_FACES_DETECTED is a warning-severity signal, not an error, so it does not decline the liveness check by itself. You should still ask the user for a retry with a single subject in frame, because a second face in a selfie usually means someone else is standing in the shot.

Does DUPLICATED_FACE block a user in Didit?

No. DUPLICATED_FACE and POSSIBLE_DUPLICATED_FACE are information-severity signals that the same face already appeared in another approved session, and they never decline a session. Treat them as a fraud signal your policy can act on. Faces sharing the same vendor_data are excluded from that search, so re-running liveness for one user does not flag a duplicate.

How many liveness attempts does a user get in Didit?

The workflow setting face_liveness_max_attempts controls it, with a default of 3 and an allowed range of 1 to 3. The attempt reports attempts_used against max_attempts, and the retry prompt is driven by feedback codes such as LOW_FACE_LUMINANCE. When the attempts are used, the check settles on its status and a reviewer takes over from there.

Why did the liveness endpoint return HTTP 403?

On the standalone liveness endpoint, 403 usually means your balance cannot cover the call, and it returns before any image processing, so nothing was analysed and nothing was billed. A key used from outside its IP list, or a scoped key without access, also returns 403. Read the body, top up or fix the key's limits, then resend.

Why did passive liveness return HTTP 400?

400 means the request itself was rejected: user_image is missing, the file is over 5 MB, or the extension is not one of tiff, jpg, jpeg, png or webp. PDFs are not accepted. Fix the file and resend. A 400 is never a liveness verdict, so do not record it as a decline.

Does a failed liveness attempt cost money?

Yes, if the failure is a liveness verdict. A Declined result is a normal 200 response and consumes one credit, because the model processed the image. Transport failures are different: a 403 for an empty balance returns before processing, and sandbox keys never bill.

Can I retry a declined liveness session automatically until it passes?

Not for LIVENESS_FACE_ATTACK. A loop that re-runs a suspected presentation attack until it returns Approved defeats the check and leaves no defensible record. Legitimate retries belong to capture problems such as NO_FACE_DETECTED, and they are bounded by face_liveness_max_attempts. After that, a reviewer decides between a resubmission and a decline.

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.