Order-related errors
The Investment API returns synchronous order creation errors in the following cases:
Error code | Description |
---|---|
400 Bad request | The request is malformed. |
422 Unprocessable entity | The 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.