API status

Order-related errors

The Investment API returns synchronous order creation errors in the following cases:

Error codeDescription
400 Bad requestThe request is malformed.
422 Unprocessable entityThe specified values are valid but cannot be processed. This case occurs when the account ID does not yet exist in the system.

Other errors that may occur during order processing are asynchronous and are represented by a change of state to CANCELLED. These have a descriptive error message.

Detailed enumeration of error messages will follow soon in the next iteration of the guide.