Error Codes
The error JSON payload:
{
  "code":-1121,
  "msg":"Invalid symbol."
}
Errors consist of two parts: an error code and a message. Codes are universal, but messages can vary.
10xx - General Server or Network issues
-1000 UNKNOWN
- An unknown error occurred while processing the request.
 - An unknown error occurred while processing the request.[%s]
 
-1001 DISCONNECTED
- Internal error; unable to process your request. Please try again.
 
-1002 UNAUTHORIZED
- You are not authorized to execute this request.
 
-1003 TOO_MANY_REQUESTS
- Too many requests queued.
 - Too much request weight used; current limit is %s request weight per %s. Please use WebSocket Streams for live updates to avoid polling the API.
 - Way too much request weight used; IP banned until %s. Please use WebSocket Streams for live updates to avoid bans.
 
-1004 SERVER_BUSY
- Server is busy, please wait and try again
 
-1006 UNEXPECTED_RESP
- An unexpected response was received from the message bus. Execution status unknown.
 
-1007 TIMEOUT
- Timeout waiting for response from backend server. Send status unknown; execution status unknown.
 
-1008 SERVER_BUSY
- Spot server is currently overloaded with other requests. Please try again in a few minutes.
 
-1014 UNKNOWN_ORDER_COMPOSITION
- Unsupported order combination.
 
-1015 TOO_MANY_ORDERS
- Too many new orders.
 - Too many new orders; current limit is %s orders per %s.
 
-1016 SERVICE_SHUTTING_DOWN
- This service is no longer available.
 
-1020 UNSUPPORTED_OPERATION
- This operation is not supported.
 
-1021 INVALID_TIMESTAMP
- Timestamp for this request is outside of the recvWindow.
 - Timestamp for this request was 1000ms ahead of the server's time.
 
-1022 INVALID_SIGNATURE
- Signature for this request is not valid.
 
-1099 Not found, authenticated, or authorized
- This replaces error code -1999
 
11xx - 2xxx Request issues
-1100 ILLEGAL_CHARS
- Illegal characters found in a parameter.
 - Illegal characters found in a parameter. %s
 - Illegal characters found in parameter 
%s; legal range is%s. 
-1101 TOO_MANY_PARAMETERS
- Too many parameters sent for this endpoint.
 - Too many parameters; expected 
%sand received%s. - Duplicate values for a parameter detected.
 
-1102 MANDATORY_PARAM_EMPTY_OR_MALFORMED
- A mandatory parameter was not sent, was empty/null, or malformed.
 - Mandatory parameter 
%swas not sent, was empty/null, or malformed. - Param 
%sor%smust be sent, but both were empty/null! 
-1103 UNKNOWN_PARAM
- An unknown parameter was sent.
 
-1104 UNREAD_PARAMETERS
- Not all sent parameters were read.
 - Not all sent parameters were read; read 
%sparameter(s) but was sent%s. 
-1105 PARAM_EMPTY
- A parameter was empty.
 - Parameter 
%swas empty. 
-1106 PARAM_NOT_REQUIRED
- A parameter was sent when not required.
 - Parameter 
%ssent when not required. 
-1111 BAD_PRECISION
- Precision is over the maximum defined for this asset.
 
-1112 NO_DEPTH
- No orders on book for symbol.
 
-1114 TIF_NOT_REQUIRED
- TimeInForce parameter sent when not required.
 
-1115 INVALID_TIF
- Invalid timeInForce.
 
-1116 INVALID_ORDER_TYPE
- Invalid orderType.
 
-1117 INVALID_SIDE
- Invalid side.
 
-1118 EMPTY_NEW_CL_ORD_ID
- New client order ID was empty.
 
-1119 EMPTY_ORG_CL_ORD_ID
- Original client order ID was empty.