Skip to main content
All error responses include a machine-readable error code. These codes can help you handle errors programmatically, as well as display friendly error messages to your users. The following is a list of the error codes returned by the API, their descriptions, and occasionally information about how to resolve them.
Code
Description
buy_order_forbidden
Buy orders are not enabled for this account.
client_request_id_too_long
The Client-Request-Id header value exceeds the maximum length.
currency_not_supported
The requested currency is not supported for this account.
deposit_advance_forbidden
Deposit advances are not enabled for this account.
deposit_forbidden
Deposits are not enabled for this account.
duplicate_funding_account
A funding account with the same IBAN and bank code already exists for this account.
email_forbidden
The email address is not allowed for this operation.
forbidden
The credentials are not authorized to perform this operation.
idempotency_key_too_long
The Idempotency-Key header value exceeds the maximum length.
instrument_not_trading
The instrument is not currently tradable.
insufficient_funds
The account does not have sufficient available cash balance.
insufficient_scope
The token does not have the required scope for this operation.
insufficient_units
The account does not have sufficient available units to sell.
invalid_client
The OAuth client is invalid, inactive, or not authorized for this request.
invalid_param
A parameter is invalid.
invalid_request
The request parameters are invalid.
invalid_token
The authentication credentials are invalid or expired.
invalid_trading_currency
The instrument is not tradable in the requested currency.
method_not_allowed
This HTTP method is not allowed for this endpoint.
missing_param
A required parameter is missing.
missing_price
Pricing data is not available for this operation.
missing_token
The request is missing authentication credentials.
not_found
The requested resource does not exist.
order_cancel_forbidden
The order cannot be cancelled in its current state.
order_fill_forbidden
The order cannot be marked as filled in its current state.
payment_completion_forbidden
The payment cannot be completed in its current state.
professional_trader_required
This operation requires a professional trader authorization.
refund_exceeds_refundable_amount
The requested refund amount exceeds the refundable amount.
sell_order_forbidden
Sell orders are not enabled for this account.
server_error
An unexpected internal error occurred.
withdrawal_forbidden
Withdrawals are not enabled for this account.