# Mã lỗi (Error code)

Khi có lỗi API trả về có dạng:

```
{
  success: false,
  message: <MESSAGE>
}
```

Trong đó MESSAGE được mô tả trong bảng dưới:

| MESSAGE              | Chú thích                       |
| -------------------- | ------------------------------- |
| APPID\_NOT\_FOUND    | appId không tìm thấy            |
| APPID\_MISSING       | Thiếu tham số appId             |
| HASH\_NOT\_MATCH     | Giá trị tham số hash không đúng |
| METHOD\_NOT\_SUPPORT | Phương thức không hỗ trợ        |

*(*

***Error Codes***\
*When an error occurs, the API returns a response in the following format:*

```json
jsonCopyEdit{
  success: false,
  message: <MESSAGE>
}
```

*Where **MESSAGE** is described in the table below:*

| MESSAGE              | Description                           |
| -------------------- | ------------------------------------- |
| APPID\_NOT\_FOUND    | The appId could not be found          |
| APPID\_MISSING       | The appId parameter is missing        |
| HASH\_NOT\_MATCH     | The hash parameter value is incorrect |
| METHOD\_NOT\_SUPPORT | The method is not supported           |

*)*


---

# 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://docs.antbuddy.com/huong-dan-tich-hop-api-team-technical-api-integration-guide-technical-team/antring/ma-loi-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.
