# Errors

Errors consist of two parts: an error code and a message. Codes are universal, but messages can vary. Here is the error JSON payload:

```json
{
  "code": -1121,
  "msg": "Invalid symbol."
}
```

#### General Server or Network Issues

| **Code** | **Description**                                                                                                                                                                |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| -1000    | An unknown error occurred while processing the request.                                                                                                                        |
| -1001    | Internal error; unable to process your request. Please try again.                                                                                                              |
| -1002    | You are not authorized to execute this request. API Key is required.                                                                                                           |
| -1003    | Requests exceed the limit too frequently.                                                                                                                                      |
| -1004    | You are not authorized to execute this request. User does not exist.                                                                                                           |
| -1006    | An unexpected response was received from the message bus. Execution status unknown. Please report to Customer service.                                                         |
| -1007    | Timeout waiting for response from backend server. Send status unknown; execution status unknown.                                                                               |
| -1014    | Unsupported order combination.                                                                                                                                                 |
| -1015    | Too many new orders.                                                                                                                                                           |
| -1016    | This service is no longer available.                                                                                                                                           |
| -1017    | We recommend attaching Content-Type to all request headers and setting it to application/json.                                                                                 |
| -1020    | This operation is not supported.                                                                                                                                               |
| -1021    | Timestamp for this request is outside of the recvWindow. Timestamp was 1000ms ahead of the server's time. Please check the difference between your local time and server time. |
| -1022    | Signature for this request is not valid.                                                                                                                                       |
| -1023    | You are not authorized to execute this request. X-CH-TS is recommended in all request headers.                                                                                 |
| -1024    | You are not authorized to execute this request. X-CH-SIGN is recommended in the request header.                                                                                |

#### Request Issues

| **Code** | **Description**                                                                          |
| -------- | ---------------------------------------------------------------------------------------- |
| -1100    | Illegal characters found in a parameter.                                                 |
| -1101    | Too many parameters sent for this endpoint.                                              |
| -1102    | A mandatory parameter was not sent, was empty/null, or malformed.                        |
| -1103    | An unknown parameter was sent. Each request requires at least one parameter (Timestamp). |
| -1104    | Not all sent parameters were read. Read '%s' parameter(s) but was sent '%s'.             |
| -1105    | A parameter was empty. Parameter '%s' was empty.                                         |
| -1106    | A parameter was sent when not required. Parameter '%s' sent when not required.           |
| -1111    | Precision is over the maximum defined for this asset.                                    |
| -1112    | No orders on book for symbol.                                                            |
| -1116    | Invalid orderType. ORDER\_TYPE values are LIMIT or MARKET.                               |
| -1117    | Invalid side. ORDER\_SIDE values are BUY or SELL.                                        |
| -1118    | New client order ID was empty.                                                           |
| -1121    | Invalid symbol.                                                                          |
| -1136    | Order volume lower than the minimum.                                                     |
| -1138    | Order price exceeds permissible range.                                                   |
| -1139    | This trading pair does not support market trading.                                       |
| -1145    | This order type does not support cancellation.                                           |
| -2013    | Order does not exist.                                                                    |
| -2015    | Invalid API-key, IP, or permissions for action.                                          |
| -2016    | Transaction is frozen.                                                                   |
| -2017    | Insufficient balance.                                                                    |


---

# 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://apidocs.fokawa.com/openapi-basic-information/errors.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.
