Skip to main content

Error Codes

When an order is rejected or an action fails, AEX returns an error code with a description. This reference lists common errors and their resolutions.

Order Errors

ErrorDescriptionResolution
INSUFFICIENT_CREDITYour entity does not have enough credit to cover this orderReduce order size or request a credit limit increase from your counterparty
INVALID_PRICEPrice is outside acceptable boundsCheck the price and ensure it is a valid positive number in tick-size increments
INVALID_QUANTITYQuantity is zero, negative, or exceeds limitsEnter a valid positive quantity within allowed limits
SESSION_CLOSEDThe market is not accepting ordersWait for the next trading session to open
SESSION_HALTEDTrading has been temporarily haltedWait for the administrator to resume the market
CONTRACT_EXPIREDThe selected contract has expiredChoose an active contract with a future delivery period
DUPLICATE_ORDERAn identical order was recently submittedCheck your Order List; the previous order may still be active

Connection Errors

ErrorDescriptionResolution
WS_DISCONNECTEDWebSocket connection lostCheck your network; the client reconnects automatically
AUTH_EXPIREDAuthentication token has expiredSign in again to refresh your session
AUTH_FAILEDAuthentication credentials invalidVerify your credentials or contact your administrator

Credit Errors

ErrorDescriptionResolution
LIMIT_EXISTSA credit limit already exists for this counterpartyEdit the existing limit instead of creating a new one
APPROVAL_REQUIREDThis action requires approval from a counterpartyWait for the counterparty to approve the request
NOT_AUTHORISEDYou do not have permission for this actionContact your administrator to verify your role assignment
tip

If you encounter an error not listed here, check the Event Log for additional context or contact your administrator.