Skip to content

Issue Codes in API Responses

When end-users upload photos, these often come with various issues. We make a concerted effort to correct user's input. However, if we couldn't correct and identify any issue that might lead to rejection by the authority, we provide a list of issue codes in our API response for clarity and further action. The following are the issue codes currently in use:

  1. ISSUE_FACE_NOT_FOUND: No face detected in the uploaded photo.
  2. ISSUE_FACE_LIGHT_NOT_BALANCE: The lighting on the left and right sides of the face is unbalanced.
  3. ISSUE_FACE_BRIGHTNESS_BAD: The overall brightness level of the face is poor.
  4. ISSUE_EYEGLASSES_NOT_ALLOWED: Eyeglasses are present on the face, which is not permissible.
  5. ISSUE_EXPRESSION_NOT_NEUTRAL: The facial expression is not neutral as required.
  6. ISSUE_BOTTOM_INCOMPLETE: The input photo lacks sufficient lower body area, resulting in empty space at the bottom of the final output.
  7. ISSUE_LEFT_INCOMPLETE: The input photo does not include enough of the left shoulder area, leading to empty space on the left side of the final output.
  8. ISSUE_RIGHT_INCOMPLETE: The input photo does not include enough of the right shoulder area, leading to empty space on the right side of the final output.

Below is an example of input and output photo for ISSUE_BOTTOM_INCOMPLETE, ISSUE_LEFT_INCOMPLETE, ISSUE_RIGHT_INCOMPLETE.

d1a399a7-16a1-471e-a616-367babce9d23

bc0a1d14-d51a-43ea-a214-9fcb2f9ef817