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.

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.
| Code | Severity | What it means | Effect on status | Fix |
|---|---|---|---|---|
LOW_LIVENESS_SCORE | error | Liveness score at or below face_liveness_score_decline_threshold, default 30 | Declined | Fix capture conditions, retry, then review the threshold with evidence |
NO_FACE_DETECTED | error | The liveness model found no face in the image | Declined | Ask for a new capture with one face, framed and lit |
LIVENESS_FACE_ATTACK | error | The model detected a presentation attack: a print, a replay, a mask or a deepfake | Declined, do not approve | Stop the flow, do not retry in a loop, send to manual review |
MULTIPLE_FACES_DETECTED | warning | More than one face in the frame | No decline by itself | Ask for a retry with a single subject |
FACE_IN_BLOCKLIST and POSSIBLE_FACE_IN_BLOCKLIST | error | The face matches an entry on your own face blocklist | Declined | Block, or route to manual review per your policy |
DUPLICATED_FACE and POSSIBLE_DUPLICATED_FACE | information | The same face already appeared in another approved session | Never declines | Log 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
LIVENESSfeature runs the method you pick withface_liveness_method:PASSIVE,ACTIVE_3DorFLASHING. You read the result fromliveness_checks[]on the decision payload or from thesession.status.updatedwebhook. For higher-risk onboarding we recommendACTIVE_3DorFLASHING, 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.

Prerequisites
- An application API key sent in the
x-api-keyheader. A missing key or a key without access returns403; a wrong, malformed or revoked key returns401. - A workflow that includes the liveness feature, with
face_liveness_methodset, and a liveness node id you can match later innode_id. - A decision from
GET /v3/session/{sessionId}/decision/or from astatus.updatedwebhook, which return the same feature objects. - For the standalone route: one front-facing face image as
user_imagein 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
- Validate the request shape in the sandbox first. Sandbox API keys skip processing and billing: after validation the endpoint returns a static
Approvedpayload, no session is persisted and no credits are consumed. Malformed input still returns400there, 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. - 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_requestdefaults 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. - Read the feature report, not only the top-level status. Fetch the decision and look inside
liveness_checks[]:
Each entry carriescurl https://verification.didit.me/v3/session/SESSION_ID/decision/ \ -H "x-api-key: API_KEY"status,node_id,score,warnings[],face_qualityandface_luminance. Branch on the feature report, not on a screenshot of the user's screen. - Classify each warning by its
log_type. Three values exist:error,warningandinformation. Only error-severity codes produce aDeclinedstatus on the liveness check. Readriskas the stable key andadditional_datafor the numbers behind it, which is where you find the score and the threshold that produced the decision. - Apply the recovery path for that exact code.
NO_FACE_DETECTEDandMULTIPLE_FACES_DETECTEDare capture problems: ask for one well-framed face and let the user try again. A lowface_luminanceon aLOW_LIVENESS_SCOREcan indicate a capture-lighting issue, while a soft image points at focus or motion instead.LIVENESS_FACE_ATTACKis a suspected attack and must not be approved.FACE_IN_BLOCKLISTis your own list speaking; route it to review or block it, never to a retry loop. - Control retries explicitly. The workflow setting
face_liveness_max_attemptscaps how many attempts a user gets. It defaults to 3 and accepts 1 to 3. The attempt carriesattempts_usedagainstmax_attempts, and the retry prompt is driven by feedback codes such asLOW_FACE_LUMINANCE, so the user is told what to change instead of being asked to try again blindly. - Handle transport failures apart from biometric ones. An
HTTP 403means out of credits, and it returns before any image processing, so nothing was analysed and nothing was billed. AnHTTP 400means a missinguser_image, a file over 5 MB, or an unsupported extension. A429is 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. - Tune the decline threshold only with evidence.
face_liveness_score_decline_thresholddefaults to 30 and decides whereLOW_LIVENESS_SCOREfires. 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.
Failure cases and recovery
| Failure | What you see | Recovery |
|---|---|---|
| Out of credits | HTTP 403 with the top-up message | Top up in the Business Console and resend. No image was processed. |
| Bad image payload | HTTP 400, missing or oversized user_image, unsupported extension | Fix the file: jpg, jpeg, png, tiff or webp, 5 MB or less, no PDFs |
| Rate limit | HTTP 429 | Wait for Retry-After. The budget is 300 write requests per minute per key. |
| No face | NO_FACE_DETECTED, error | New capture, one face, inside the frame guide |
| More than one face | MULTIPLE_FACES_DETECTED, warning | Ask for a solo retry. This code does not decline the check on its own. |
| Suspected spoof | LIVENESS_FACE_ATTACK, error | Do not approve, do not auto-retry. Send it to a reviewer and keep the evidence. |
| Weak capture | LOW_LIVENESS_SCORE, error | Improve light and framing, retry within the attempt limit, then look at face_quality and face_luminance |
| Blocklist hit | FACE_IN_BLOCKLIST or POSSIBLE_FACE_IN_BLOCKLIST, error | Block or review per policy. Screening runs on every call, with or without save_api_request. |
| Repeat face | DUPLICATED_FACE or POSSIBLE_DUPLICATED_FACE, information | Log 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
| Field | Direction | Notes |
|---|---|---|
user_image | input | Required on the standalone route. tiff, jpg, jpeg, png, webp, 5 MB maximum. |
save_api_request | input | Default true. True persists the call as an API session and enrolls the face. False is one-shot. |
vendor_data | input | Your user reference. Same-value faces are excluded from duplicate and blocklist matching. |
face_liveness_method | input, workflow | PASSIVE, ACTIVE_3D or FLASHING. |
face_liveness_score_decline_threshold | input, workflow | Default 30. The line where LOW_LIVENESS_SCORE fires. |
face_liveness_max_attempts | input, workflow | Default 3, range 1 to 3. |
status | output | Feature-level value: Not Started, In Progress, Approved, In Review, Declined, Abandoned, Kyc Expired. Exact, case-sensitive strings. |
score | output | 0 to 100 liveness score. |
warnings[] | output | Objects with feature, risk, log_type, additional_data, node_id. |
face_quality, face_luminance | output | 0 to 100, nullable. The fastest explanation for a weak capture. |
attempts_used, max_attempts, feedback_codes | output | Retry counters and the reason shown to the user, for example LOW_FACE_LUMINANCE. |
Paid steps and review boundaries
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
- Didit Liveness Detection overview: methods, accuracy and the warning vocabulary.
- Passive Liveness API reference: request fields, error severities, billing and sandbox behaviour.
- Verification statuses: the status enum and allowed transitions.
- Didit API errors: status codes, bodies and which failures to retry.
- Data models: the warning object and the liveness report schema.
- Retrieve session API: the decision payload and its feature arrays.
- Didit pricing and pricing in the docs: unit prices and billing rules, read November 26, 2026.
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.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

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.
Your obligations · 3 regions
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.
- 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.
Didit Academy


