OKX error 51024
Trading account is blocked or restricted (sMsg gives the reason: compliance, verification, region or risk control).
Check an order against OKX rules before sending it (free)
What the venue says
- Trading account is blocked.
- In accordance with the terms of service, we regret to inform you that we cannot provide services for you. If you have any questions, please contact our customer support.
- According to your request, this account has been frozen. If you have any questions, please contact our customer support.
- Your account has recently changed some security settings. To protect the security of your funds, this action is not allowed for now. If you have any questions, please contact our customer support.
- You have withdrawn all assets in the account. To protect your personal information, the account has been permanently frozen. If you have any questions, please contact our customer support.
- Your identity could not be verified. To protect the security of your funds, this action is not allowed. Please contact our customer support.
- Your verified age doesn't meet the requirement. To protect the security of your funds, we cannot proceed with your request. Please contact our customer support.
- In accordance with the terms of service, trading is currently unavailable in your verified country or region. Close all open positions or contact customer support if you have any questions.
- In accordance with the terms of service, multiple account is not allowed. To protect the security of your funds, this action is not allowed. Please contact our customer support.
- Your account is in judicial freezing, and this action is not allowed for now. If you have any questions, please contact our customer support.
- Based on your previous requests, this action is not allowed for now. If you have any questions, please contact our customer support.
- Your account has disputed deposit orders. To protect the security of your funds, this action is not allowed for now. Please contact our customer support.
Source: Trade Class, read 2026-11-28. Market: all.
Usual causes
- Account restriction by OKX
How to fix it
- Read sMsg and the account notices; contact OKX support
Stop this error before the order leaves your bot
The free order check tests size, price, tick, lot step and venue rules for one order and returns the venue error code it would hit. The free EA code check reads MQL5 and Python bot code for the rule checks that stop codes like this one. Both are free; the full EA list is US$19 with a 30-day refund.
Free order check Free EA code check
This page explains an error message. It is information for developers, not financial advice and not a recommendation to trade. Codes and texts come from the venue's official documentation on the date shown; venues change them, so check the source before relying on it. Register built 2026-11-28; the receipt id for this entry is rcp_a77c42dba009413ca430.