> For the complete documentation index, see [llms.txt](https://cartoonmango-1.gitbook.io/vida-ekyc-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cartoonmango-1.gitbook.io/vida-ekyc-integration/getting-started/error-codes.md).

# Error Codes

## HTTP Error Codes

The APIs rely on HTTPS response codes to indicate the success or failure of an API request:

<table><thead><tr><th width="141">Status code</th><th width="152">Title</th><th>Description</th><th>Recommendation</th></tr></thead><tbody><tr><td>200</td><td>OK</td><td>A response body may be returned.</td><td><br></td></tr><tr><td>400</td><td>Bad Request</td><td>Invalid/ missing parameter from the client.</td><td>Check the required param info while sending the API request.</td></tr><tr><td>401</td><td>Unauthorized</td><td>The authorization token is not valid.</td><td>Regenerate a new auth token.</td></tr><tr><td>402</td><td>Request Failed</td><td>Request parameters were valid but requests failed.</td><td>Retry or contact <a href="mailto:support@vida.id">VIDA support</a></td></tr><tr><td>404</td><td>Not Found</td><td>The requested resource does not exist.</td><td>Contact <a href="mailto:support@vida.id">VIDA support</a></td></tr><tr><td>405</td><td>Method not allowed</td><td>The API method that is not allowed to run the particular API request.</td><td>Check the API method before sending the request.</td></tr><tr><td>408</td><td>Request Timeout</td><td>The request is timed out from the server.</td><td>Retry the auth request again.</td></tr><tr><td>500</td><td>System Error</td><td>Unexpected system error.</td><td>Retry after some time or contact <a href="mailto:support@vida.id">VIDA support</a></td></tr><tr><td>500</td><td>Internal Server Error</td><td>User does not have authorized roles and privileges to run the request.</td><td>Check if the authorized user is assigned the required roles and privileges to run the request.</td></tr><tr><td>503</td><td>Service Unavailable</td><td>Third-party system is unavailable.</td><td>Retry after some time.</td></tr></tbody></table>

## VIDA Error Codes

| Code | Description                                                                                                                                                 | Recommendation                                                                                                                                                      |
| ---- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1006 | Missing required parameter                                                                                                                                  |                                                                                                                                                                     |
| 1000 | Verification failed                                                                                                                                         |                                                                                                                                                                     |
| 2101 | Verification failed                                                                                                                                         | The partner should send the API requests within operational hours. The operational hours as of 14th Nov 2022 from authoritative sources are from 6AM WIB to 8PM WIB |
| 2103 | There’s a temporary issue with authoritative sources.                                                                                                       | The partner should send the API request after some time.                                                                                                            |
| 2104 | ID data found, but the NIK is inactive. Please check with the local authoritative sources.                                                                  | The partner must send an active NIK in the API request.                                                                                                             |
| 2106 | NIK is not found, please check with the local authoritative sources.                                                                                        | The partner should send the NIK that is valid and active and also present in the authoritative source records.                                                      |
| 2109 | Double data, please check with the local authoritative sources.                                                                                             | The partner must check the NIK of the user before sending it.                                                                                                       |
| 2110 | NIK is registered for a person who has deceased. Please check again.                                                                                        | The partner must send the NIK of an alive user.                                                                                                                     |
| 2111 | NIK is registered for a person who has deceased. Please check again.                                                                                        | The partner should try again after some time.                                                                                                                       |
| 2113 | Authoritative sources are busy, please try after some time.                                                                                                 | Errors in authoritative source, please try back after some time.                                                                                                    |
| 2116 | An unknown error occurred in the authoritative source.                                                                                                      | The partner should try again after some time.                                                                                                                       |
| 2117 | The partner must send a valid NIK that is registered in the authoritative source.                                                                           | The partner must send a valid NIK that is registered in the authoritative source.                                                                                   |
| 2118 | The API quota assigned for the partner is exhausted.                                                                                                        | The partner can contact VIDA customer support at <support@vida.id> and check the assigned number of quota for the partner.                                          |
| 2119 | The API rate limit assigned to the partner is exhausted.                                                                                                    | The partner can contact VIDA customer support at <support@vida.id> and check the assigned number of rate limit for the partner.                                     |
| 4007 | The selfie is not a live face image. Please send a live selfie in the API request.                                                                          | The partner must send a live image in the API request.                                                                                                              |
| 4008 | The partner has not send the correct demographic and/or selfie data, therefore, the demographic verification and/or the face-match verification has failed. | The partner must check the parameter details of the API request body before sending it.                                                                             |
