MEXC Error Codes
Trading the instrument is available when connected to the exchange using a u_id
To trade on the exchange with an extended list of spot instruments, it is necessary to use the u_id parameter when connecting to the exchange. Instruction for connecting using u_id can be found in the Connections section
Invalid u_id in the connection settings. Please enter a new u_id from the exchange website
The u_id parameter used to connect to the exchange becomes invalid when you log out of your account on the MEXC exchange website, including when the session ends automatically after a period of time (up to 5 days). To continue trading using u_id, you need to log in to your exchange account, copy and enter a new u_id in the connection settings. Instructions for connecting using u_id can be found in the Connections section.
Market order for [X] cancelled: no orders available for execution at current market conditions
This error on the MEXC exchange 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.