Hyperliquid Error Codes
The order price is too high or low
- Price must be divisible by tick size
This error occurs when the order price does not match the instrument’s price tick size. You need to adjust the order price accordingly.
The order amount must be at least $10
- Order must have minimum value of $10
The order size must be at least $10. Orders with a smaller value will be rejected. You need to increase the order size so that it is greater than or equal to $10.
The order amount must be at least 10 {quote_token}
- Order must have minimum value of 10 {quote_token}
The order size must be at least 10 tokens. Orders with a smaller amount will be rejected. You need to increase the order size so that it is greater than or equal to 10 tokens.
Insufficient funds to place an order
- Insufficient margin to place order
- (Spot-only) Order has insufficient spot balance to trade
Insufficient funds to place the order. Please check:
- account balance
- order size
- selected leverage
Stop order declined
- Invalid TP/SL price
This error occurs when the take-profit or stop-loss execution price matches the current market price. This can happen when attempting to set a take-profit/stop-loss at the current price or when trying to move these orders to the opposite side of the order book.
Insufficient liquidity for a market order
- No liquidity available for market order
This error occurs when attempting to place a market order while there is not enough liquidity in the order book to execute it.
The position size for the current leverage has been exceeded
- Order would cause position to exceed margin tier limit at current leverage
The allowed position size has been exceeded for the current leverage. To place the order, reduce its size or adjust the leverage. It is also possible that the exchange has lowered the maximum leverage — in this case, go to your account dashboard and set a new value for the selected asset.
This order no longer exists
- Order was never placed, already canceled, or filled
This error occurs when attempting to cancel a non-existent order. The order was not placed, or it has already been canceled or executed.
The order was canceled because there were no matching orders available to execute it under current market conditions
- Order could not immediately match against any resting orders
This error means that your market order could not be executed — the system did not find matching counter orders (orders from other traders) that would allow your order to be filled under current market conditions. This may have occurred for the following reasons:
- low liquidity of the trading pair — there are too few active buy/sell orders on the market;
- order size too large — order exceeds the available volume of matching orders;
- sharp price fluctuations — while order was being processed, the market price changed significantly, making previous matching orders no longer valid;
- technical delays — a delay in order processing (e.g., due to exchange load) may have caused the available order data to become outdated.
Recommendations:
- split the order — try placing several smaller orders;
- use a limit order to close the position — instead of a market order, set a specific price at which you are willing to buy/sell. The order will be executed when the market reaches that level;
- try again later — sometimes it is enough to wait a few minutes, as new orders may appear on the market.