KYC documentation

KYC: error codes

What each code means and what the user should do.

This page lists the error codes returned by process images and session status. Results of database checks, such as AML screening, are not part of this list: they are read separately, see below.

A code consists of a category in square brackets and the error name, for example [document] cropped. In the answer the codes arrive as strings in the errors list of the session or of a step:

{
  "errors": [
    "[fraud] mobile device",
    "[document] text fields not visible"
  ]
}

The "What to do" texts can be shown to the user as a hint. Branch on the code, never on any message text. See response format and errors.

General image errors: [general]

CodeMeaningWhat to do
[general] bad imageThe uploaded file is not an image.Send a photo in JPEG or PNG format.
[general] too small imageThe image is too small to be recognized.Take a photo in a higher resolution.
[general] no documents on imageNo document was found in the image.Make sure you photograph the required document.
[general] not a selfieNo face was found outside the document.Wipe the camera and take a new photo. The face must be in focus and clearly visible.
[general] low lightThe image is too dark.Add more light or move to a brighter place.
[general] black and white imageThe image is black and white.Do not use filters. The photo must be in color.
[general] too many facesMore faces than expected were found in the document image.Photograph only the document. There must be no other people in the background.
[general] age requirement mismatchThe age does not meet the requirements of the scenario.The check cannot be passed now.
[general] too many triesThe allowed number of attempts to upload this type of image is exceeded.No attempts are left in this session. A new check needs a new session.
[general] data mismatchThe full name or the date of birth differ between the steps of the session or from the questionnaire data. The step fails.Use the documents of one person and check the questionnaire data.

Document errors: [document]

CodeMeaningWhat to do
[document] unknown document typeThe document type in the image is not recognized.Make sure you photograph the required document.
[document] bad document typeThe document is recognized but does not fit this step of the scenario.Photograph the type of document that is requested.
[document] bad pagesThe wrong page of the document was photographed.Photograph the required spread, for example the main spread of the passport.
[document] too small imageThe document takes up too small a part of the frame.Move the camera closer to the document.
[document] croppedThe document is not fully visible.Hold the camera further away. The whole document must fit in the frame.
[document] bad qualityThe image quality is too low for recognition.Wipe the camera and take a new photo in focus.
[document] text fields not visibleThe document fields are not visible.Wipe the camera and take a new photo. The fields must not be covered by fingers or glare.
[document] text field has low confidenceA field was recognized with low confidence.Wipe the camera and take a new photo in focus.
[document] bad mrz checksumThe data of the machine readable zone failed the checksum check.Take a new photo. The lines of the zone must be fully visible and sharp.
[document] no faceThe photo of the holder was not found on the document.Make sure the photo in the document is clearly visible.
[document] no signatureThe document has no signature.The document is invalid. Use another one.
[document] no stampThe document has no stamp.The document is invalid. Use another one.
[document] no required objectsThe document lacks required elements.The document is invalid. Use another one.
[document] no required fieldsThe document lacks required fields.The document is invalid. Use another one.
[document] expiredThe document has expired.Use a valid document.
[document] other errorThe document does not meet the requirements.Present another document.

Signs of forgery: [fraud]

CodeMeaningWhat to do
[fraud] display or screenA screen was photographed.Photograph the original document, not its image on a screen.
[fraud] mobile deviceA mobile device screen is in the frame.Photograph the original document, not its image on a screen.
[fraud] image printedThe image looks like a photocopy or a printout.Photograph the original document.
[fraud] image editedThe image was processed in a graphics editor.Photograph the original document and send the photo without editing.
[fraud] document modifiedThe document is physically altered: corrections or pasted-in elements.Use a document without corrections or pasted-in elements.
[fraud] bad document photoThe photo in the document looks suspicious.Do not cover the photo or the area around it with fingers or objects.
[fraud] document damagedThe document is damaged.The document is invalid. Use another one.
[fraud] logical mismatchLogical inconsistencies were found in the document data.The check failed.
[fraud] manipulation detectedDifferent documents, or documents of different people, were uploaded in the session.Repeat the photos as the scenario requires, using the same document.
[fraud] multiple documentsDifferent documents of the same type were uploaded in the session.The check failed.
[fraud] black listThe user was found in the blacklist.The check failed.

Face check errors: [face]

CodeMeaningWhat to do
[face] bad face matchingThe face on the selfie does not match the photo in the document.Take a selfie holding the document. The face and the document must be fully visible.
[face] not all faces foundNot all faces required for the check were found.Wipe the camera and take a new photo in focus.
[face] face out of frameThe face is cut off by the edge of the frame.Hold the phone so that the whole face fits in the frame.
[face] face occludedThe face is covered by the document.Hold the document next to the face without covering it.
[face] is deepfakeThe face in the image shows signs of generation or substitution.Use a real photo without editing.
[face] is not aliveThe image failed the liveness check.Take the check yourself, in front of the camera, in good light.
[face] reference session unusableThe face from the earlier session that the selfie is compared with is not available for comparison.Comparison with this session is not possible. The check needs a new session with a document.

Questionnaire errors: [questionnaire]

CodeMeaningWhat to do
[questionnaire] bad nameThe full name has fewer than two words or is too long, or a required field is empty.Enter the full name and fill in the required fields.
[questionnaire] bad ageThe date of birth is invalid or the age is outside the allowed range.Check the date of birth.
[questionnaire] session not foundThe questionnaire record was not found.Fill in the questionnaire again.
[questionnaire] questionnaire not completedThe questionnaire was not completed.Complete the questionnaire.
[questionnaire] wrong codeThe confirmation code is wrong.Check the code and enter it again.
[questionnaire] code expiredThe code has expired.Request a new code.
[questionnaire] code lockedToo many wrong attempts. Code entry is temporarily blocked.Wait and request a new code.
[questionnaire] code resend cooldownA new code cannot be requested yet.Wait and request the code later.
[questionnaire] confirm requiredThe email or phone was not confirmed with a code, or was changed after confirmation.Confirm the contact with a code.

System errors: [system]

CodeMeaningWhat to do
[system] balance too lowThe balance is insufficient.Top up the account balance and try again.
[system] service timeoutThe service did not respond in time.Send the image again.
[system] exceptionInternal service error.Send the image again. If the error repeats, contact support.

Database check results

The verdicts of database checks, such as AML screening, are not in the body of a session. Read them from database check results or from the DATABASE_CHECKS_COMPLETE webhook, and decide on the outcome of each check. See AML screening.

A code that is not in this list

Treat an unknown code as a failure with an unknown reason, and write to support with the session identifier. See support and contacts.

Questions about the platform?

Write to us with the details and we will help.

Talk to us