If the execution is successful execution_results array only contains "Success".
| Error | Description |
|---|
| AtomicOrdersOnSameContract | The request cannot contain more than one order for the same contract. |
| ContractDoesNotExist | The contract was not found by the given ID or symbol. |
| CustomerOrderIDAlreadyExists | An order with the same customer_order_id has already been created. |
| EmptyOrderID | Order ID from request is empty. |
| InsufficientFunds | The account does not have enough USDC in the deposit to execute this transaction. |
| InvalidLimitPrice | The limit price value is too high. |
| InvalidNewAmount | Amount in requce order request is greater that opened quantity. |
| InvalidNonZeroQuantityFields | Only one of the fields quantity_steps, quantity_contracts, or quantity_assets must be non-empty. |
| InvalidOrders | The orders field in an atomic orders request cannot be an empty array. |
| InvalidRequestData | Request JSON is invalid or incorrect type of JSON fields. |
| InvalidTimeInForce | The time_in_force field is invalid when creating orders. |
| NumericCustomerOrderID | The customer_order_id cannot be a numeric value. |
| OrderClosed | The order has already been closed. |
| OrderDoesNotExist | The order does not exist in the service storage. |
| TrustedModeIsTurnedOff | The trusted mode wallet has not been added to the account on the smart contract. |
| PlatformIsPaused | Unable to execute order because trading is paused |
| Error | Description |
|---|
| Suspended | Futures contract is suspended (attempt to create an order on a contract past contract's delivery date). |
| PermissionDenied | User is not authorized to perform the action. |
| ContractSuspended | Trading on the given Futures Contract is currently suspended. |
| OrderClearancePending | Order is currently in the clearance queue. Action needs to be retried after clearance is completed. |
| MarginRequirementsNotMet | Order rejected because it's execution would lead to overly high margin requirements and immediate account liquidation. |
| MultipleOrdersForSameContract | Attempt to create multiple orders on the same contract in an Atomic Batch. |
| SettlementInProgress | Unable to create order because contract is being settled |
| AtomicBatchRejected | Order was rejected because another order in the atomic batch was rejected |
| UnknownError | Internal error. |