17: Validation Errors - Part 2

  • 1700: Order not found
  • 1701: Order is already cancelled
  • 1702: Order is already completed
  • 1703: Invalid Order
  • 1704: Incorrect field(s) for the order you are trying to replace
  • 1705: The order was not modified because the provided values match the existing ones
  • 1706: The order was not modified because it would result in either major or minor being zero
  • 1707: The order is still being processed. Please try again later
  • 1708: Invalid margin type
  • 1709: Unable to allocate margin for this order
  • 1710: This order exceeds available lending funds. Reduce your order size or add more funds (the cause is a margin level that would be too low, despite the wording of the message)
  • 1711: Borrowing would exceed lending pool
  • 1712: Borrowing would exceed your borrow limit
  • 1713: This order would require borrowing, which is not allowed

For codes 1710 to 1713, the error also carries an errorData object with the values behind the rejection. See Place a Margin Order.


Did this page help you?