> For the complete documentation index, see [llms.txt](https://legacy-docs.usesmileid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy-docs.usesmileid.com/integration-options/mobile/android/sdk-error-handling.md).

# SDK Error Handling

### Camera Errors

| Error | Message                                          |
| ----- | ------------------------------------------------ |
| 11    | Unable to initialize the selfie camera.          |
| 10    | Your device doesn't support the selfie camera    |
| 14    | ID Capture failed                                |
| 16    | ID Card picture callback failed to return image. |
| 316   | ID Card auto focus failed.                       |
| 317   | ID Card touch focus failed.                      |
| 18    | ID Card draw view failed.                        |
| 9     | ID Card camera initialization failed.            |
|       |                                                  |

### File Related Errors

| Error | Message                                                                               |
| ----- | ------------------------------------------------------------------------------------- |
| 311   | Unable to submit. File packaging error.                                               |
| 13    | Failed to submit. Could not create ZIP file.                                          |
| 21    | Data packaging failed, no resources found, or operation has been canceled             |
| 28    | Cannot execute operation, No job found for provided tag                               |
| 37    | Packaging failed, Json parsing failed                                                 |
| 767   | Invalid tag format please ensure there are no spaces or special characters in the tag |
|       |                                                                                       |

### Network Errors

| Error | Message                                                                                           |
| ----- | ------------------------------------------------------------------------------------------------- |
| 27    | Not Authorized (When the server returns a 401 error)                                              |
| 12    | Failed to submit. Upload link not received.�                                                      |
| 2210  | Enroll does not exist for specified user.                                                         |
| 15    | Unable to verify user. Authentication failed.                                                     |
| 17    | A network error occurred, Please try again.                                                       |
| 19    | Either operation is timed out or you cancelled the running operation.Please try submitting again. |
| 22    | Enroll failed.                                                                                    |
| 25    | Job type requires an ID Card image.                                                               |
| 26    | Authentication failed enroll not found on server                                                  |
| 29    | Auth Smile Request Failed                                                                         |
| 30    | Images unusable                                                                                   |
| 40    | Id validation requires ID Number, ID Type and Country                                             |
| 2212  | Id validation failed                                                                              |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://legacy-docs.usesmileid.com/integration-options/mobile/android/sdk-error-handling.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
