> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/authentication/authentication-factors/biometric-device-selfie-id/integration-methods/selfie-id-api/sdk/error-codes.md).

# Error Codes

The application will receive one of the following error codes when there is an error occurred auth SDK.  Please note auth SDK internally uses liveness SDK for capturing selfies, Application may also receive error codes originated from [Liveness SDK](broken://pages/NYzkmnokPKVDVwcp9cmh) .

## SDK Errors

| Error Code | Response Message                                              |
| ---------- | ------------------------------------------------------------- |
| 41001      | No network found (DNS error)                                  |
| 41002      | Network timeout                                               |
| 41003      | Authentication failure  between SDK and the server endpoint   |
| 41004      | Unexpected Network Error                                      |
| 41005      | Out of memory error                                           |
| 41006      | No active connection                                          |
| 41007      | Malformed request                                             |
| 51001      | The response object is null or empty.                         |
| 51002      | Data object not found in response.                            |
| 51003      | JSON object parsing failed                                    |
| 51004      | Invalid input DTO object  data                                |
| 51005      | General Unknown error occurred                                |
| 51006      | General Request is in progress                                |
| 51007      | General Product Workflow is not available                     |
| 51008      | General workflow is not supported                             |
| 51009      | General Encrypted response is invalid or empty                |
| 51010      | General License Key is not available                          |
| 51011      | General unknown error occurred while fetching product details |
| 51012      | General unknown error occurred while generating request       |
| 51013      | General request canceled due to new request was initiated     |
| 61001      | Secure Crypto error during encryption                         |
| 61001      | Secure engine crypto error during decryption                  |
| 61003      | Secure engine  crypto error during HMAC generation            |
| 61004      | Secure engine  crypto error general Ops                       |

## VIDA Backend Error

| Error Code | Response Message                                                                                                                                            |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1000       | Internal server error                                                                                                                                       |
| 1006       | Missing required parameters Details: \<Reason will be available> eg : invalid id or Field data.selfie is missing etc                                        |
| 4005       | Cannot begin user authn Details: \<Reason will be available> eg: User kyc not completed                                                                     |
| 4006       | Failed to perform authentication. Details : \<Reason will be available> eg: Exceeded number of retries , Authentication event not found or request expired. |
