# Error Handling Guide

## `ErrorBio`​ Object <a href="#objeto-errorbio" id="objeto-errorbio"></a>

This object is returned whenever an error occurs in the **Android SDK**.

### Available Methods <a href="#metodos-disponiveis" id="metodos-disponiveis"></a>

<table><thead><tr><th width="355">Method Name</th><th>Description</th></tr></thead><tbody><tr><td><strong><code>getCode()</code></strong></td><td>Method used to obtain the error code that occurred.</td></tr><tr><td><strong><code>getDescription()</code></strong></td><td>Method used to obtain the description of the error that occurred.</td></tr></tbody></table>

Below is the list of possible error codes for the **Android SDK**:

| Code   | Description                                                                                                                                                                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 73001  | Context invalid                                                                                                                                                                                                                                             |
| 73002  | Did not grant permission to open camera                                                                                                                                                                                                                     |
| 73003  | The lest API is 21(LOLLIPOP                                                                                                                                                                                                                                 |
| 73004  | Could not find implementation interface callback iAcessoBioSelfie                                                                                                                                                                                           |
| 73005  | Could not find implementation interface callback iAcessoBioDocument                                                                                                                                                                                         |
| 73006  | Unable to open camera on emulators                                                                                                                                                                                                                          |
| 73007  | Unknown and unexpected error in WebApp. Unico SDK leverages a variety of APIs including camera, storage, security, networking, and more. This return value is a catch-all for errors experienced during normal usage of these APIs.                         |
| 73100  | Unable to connect to internet.                                                                                                                                                                                                                              |
| 73200  | Please inform the config object or json file name                                                                                                                                                                                                           |
| 73202  | Unable to parse json file                                                                                                                                                                                                                                   |
| 73204  | Unable to initialize the SDK, please configure the environment on setEnviroment method of build                                                                                                                                                             |
| 73300  | Unable to get unico authentication object                                                                                                                                                                                                                   |
| 73301  | Unable to parse object                                                                                                                                                                                                                                      |
| 73302  | Could not find the unico token                                                                                                                                                                                                                              |
| 73303  | Current host is not registered                                                                                                                                                                                                                              |
| 73400  | Could not initialize camera                                                                                                                                                                                                                                 |
| 73701  | Could not find active liveness import                                                                                                                                                                                                                       |
| 73703  | Unable to get active liveness session                                                                                                                                                                                                                       |
| 73718  | The Session was cancelled because of an unknown and unexpected error. SDK leverages a variety of APIs including camera, storage, security, networking, and more. This return value is a catch-all for errors experienced during normal usage of these APIs. |
| 73721  | The Session can't be performed: attempts limit exceeded.                                                                                                                                                                                                    |
| 73722  | The Session can't be performed: face alignment timeout.                                                                                                                                                                                                     |
| 73726  | An error happened during video recording                                                                                                                                                                                                                    |
| 73727  | No actions found in a video                                                                                                                                                                                                                                 |
| 73740  | The user pressed the do not consent button and did not complete the Session.                                                                                                                                                                                |
| 73800  | Could not build encrypted key.                                                                                                                                                                                                                              |
| 73801  | The Session of SDK was cancelled because of an unknown and unexpected error.                                                                                                                                                                                |
| 73802  | The Session was cancelled because of an unknown and unexpected error. SDK leverages a variety of APIs including camera, storage, security, networking, and more. This return value is a catch-all for errors experienced during normal usage of these APIs. |
| 73900  | Erro ao analisar imagem                                                                                                                                                                                                                                     |
| 73901  | É necessário implementar a interface AcessoBioListener                                                                                                                                                                                                      |
| 73902  | É necessário insirir um valor maior que 40 segundos no método: setTimeoutSession.                                                                                                                                                                           |
| 73903  | Arquivo de configuração corrompido. Verifique o arquivo json e tente novamente.                                                                                                                                                                             |
| 73903  | É necessário insirir um valor em segundos maior que o tempo máximo para inferencia de face \<valor de SECONDS\_TIMEOUT\_TO\_FACE\_INFERENCE> segundos no método: setTimeoutSession.                                                                         |
| 73904  | Erro ao finalizar processo                                                                                                                                                                                                                                  |
| 73905  | Unable to open document camera                                                                                                                                                                                                                              |
| 73906  | Document type uninformed                                                                                                                                                                                                                                    |
| 74001  | onSuccess: not implemented when using open:webAppToken:                                                                                                                                                                                                     |
| 74100  | Could not prepare SDK-S                                                                                                                                                                                                                                     |
| 74101  | No URL token was provided.                                                                                                                                                                                                                                  |
| 74102  | Environment type was not specified.                                                                                                                                                                                                                         |
| 737120 | Unable to initialize liveness                                                                                                                                                                                                                               |
| 737220 | Capture could not start                                                                                                                                                                                                                                     |
| 737320 | Transaction could not start                                                                                                                                                                                                                                 |
| 737321 | The Session was cancelled because of an unknown and unexpected error. This return value is a catch-all for errors experienced during normal usage of these APIs. Try again.                                                                                 |


---

# Agent Instructions: 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:

```
GET https://devcenter.unico.io/unico-idcloud/by-client-integration/sdk/available-sdks/android-sdk/error-handling-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
