# Error Code

We have defined some error codes in the SDK. When an error occurs during the data verification process, you can refer to the following list for troubleshooting.

### 1. General Errors

| Error Code | Situation                                                                                                                    |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------- |
| 00000      | Operation too frequent. Please try again later.                                                                              |
| 00001      | Algorithm startup exception.                                                                                                 |
| 00002      | The verification process timed out.                                                                                          |
| 00003      | A verification process is in progress. Please try again later.                                                               |
| 00004      | The user closes or cancels the verification process.                                                                         |
| 00005      | Wrong SDK parameters.                                                                                                        |
| 00012      | Invalid Template ID.                                                                                                         |
| 00013      | Target data missing. Please check that the JSON path of the data in the response from the request URL matches your template. |
| 00104      | Not met the verification requirements.                                                                                       |
| -1002001   | Invalid App ID.                                                                                                              |
| -1002002   | Invalid App Secret.                                                                                                          |

### 2. zkTLS Related Errors

| Error Code     | Situation                                           |
| -------------- | --------------------------------------------------- |
| 10001 \~ 10004 | Unstable internet connection. Please try again.     |
| 20001          | An internal error occurred.                         |
| 20003          | Invalid algorithm parameters.                       |
| 20005          | An internal error occurred.                         |
| 30001          | Response error. Please try again.                   |
| 30002          | Response check error.                               |
| 30004          | Response parse error.                               |
| 40002          | SSL certificate error.                              |
| 50001          | An internal error occurred.                         |
| 50003          | The client encountered an unexpected error.         |
| 50004          | The client not started. Please try again.           |
| 50006          | The algorithm server not started. Please try again. |
| 50007          | Algorithm execution issues.                         |
| 50008          | Abnormal execution results.                         |
| 50009          | Algorithm service timed out.                        |
| 50010          | Compatibility issues during algorithm execution.    |
| 50011          | Unsupported TLS version.                            |
| 99999          | Undefined error.                                    |

Please contact our [Community](https://discord.com/invite/pdrNxRrApX) for assistance in resolving the issues.


---

# 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://nexaid.gitbook.io/nexaid/build-on-nexaid/misc/error-code.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.
