Account Error Codes
When authentication fails or access is blocked due to account or business rule restrictions, the Account API returns these error codes. Please use these error codes to understand and troubleshoot error causes.
Error Code Reference
All API non-zero status code responses follow the standard JSON error format:
json
{
"code": 12010012,
"message": "Internal server error"
}| Field Name | Type | Description |
|---|---|---|
code | int | Business-specific error code (non-zero indicates error) |
message | string | Human-readable error message (in English) |
Error Codes
| Error Code | Message | Description |
|---|---|---|
| 12010001 | Invalid argument(s) | Parameter error |
| 12010012 | Internal server error | Internal server error |
| 12020201 | Invalid Parameter | Parameter error - portfolio id cannot be empty |
| 12020401 | Invalid Parameter | Parameter error - start time cannot be greater than end time |
Error message
| Market | Error message | Description |
|---|---|---|
| US Stocks | Price Is Not MPV | The order price is invalid. It is recommended to reject non-compliant orders on the frontend. Stocks: If the order price is ≥ USD 1.00, a maximum of 2 decimal places is allowed. If the order price is < USD 1.00, a maximum of 4 decimal places is allowed. Options: A maximum of 2 decimal places is allowed. |
| Omnibus Group Self Trade Blocked | The order has triggered self-trade prevention controls between large accounts at the executing broker. This is more likely to occur for stocks trading below USD 5.00. Suggested solution: Place a limit order based on the current best bid and ask prices. For buy orders, the price should be less than or equal to the best bid price; for sell orders, the price should be greater than or equal to the best ask price. | |
| Price To Far Away From The BBO | The order price deviates significantly from the market price. The following order price guidelines are recommended (not strict limits): If the stock price is below 25, the order price could not exceed 10% of the reference price. If the stock price is between 25 and 50, the order price could not exceed 5% of the reference price. If the stock price is higher than 50, the order price could not exceed 3% of the reference price. | |
| Stock trading is not active | Fractional-share trading is protected by an additional control. If the market data update_time has not been updated within 30 seconds, the security is considered inactive and fractional-share orders will be rejected. | |
| Order Quantity Exceeded ADV% | The share quantity of a single order exceeds a certain percentage of ADV. Stocks with poor liquidity are more likely to trigger this restriction. ADV: Average Daily Volume. | |
| Cumulative Shares Per Symbol Exceeded ADV% | The cumulative trading volume of a single stock for the day has exceeded a certain percentage of ADV. Closing transactions are not restricted. This is a global risk control imposed by the executing broker. Even if a user's trading volume has not reached the limit, the restriction may be triggered because other clients of the broker have already reached the limit. | |
| Unsupported MarketType For ETH Order | Market orders are not supported during pre-market and after-hours trading sessions. | |
| Order Minimum Notional Value Exceeded [0.01] | The market value of a fractional-share order must not be less than USD 0.01. | |
| Limited Open Positions [value1=2010002; value2=Limited Symbol] | The order was rejected by the clearing broker Velox, possibly because the stock's market capitalization is too low or the security is considered high risk. | |
| HK Stocks | Request Rejected. Insufficient Limit Or Rule Violated Nominal Deviation Limit (E-Channel) | The order price is too far from the current market price. Orders with prices deviating by 24 ticks from the current price may be rejected by the exchange. |

