On encountering an error, rest endpoints return a generic error response. This includes a plaintext message, as well as an error code to help identify the error.
method_not_allowed
— The HTTP method used is not allowed for this endpoint.too_many_requests
— This account (or IP) has exceeded its rate limit.bad_query_param
— A query parameter was supplied in a bad format.forbidden
— The action attempted is forbidden.service_unavailable
— The service is currently unavailable.account_not_found
— The account being referenced could not be found.invalid_symbol
— The symbol provided is invalid.invalid_market
— The market referenced is invalid.price_over_ui_limit_10MM
— The price is over the UI limit of 10 million.invalid_cursor
— The pagination cursor supplied is invalid.invalid_consent_value
— The marketing consent value for the account is invalid.too_few_items
— There are too few items to complete the request. Returned when trying to get deposit addresses when none exist.error_building_csv
— There was an error building the CSV.order_not_found
— The order being referenced could not be found.order_already_canceled
— The order to cancel has already been canceled.order_not_in_cancelable_state
— The order to cancel is not currently in a state that allows it to be canceled.order_already_filled
— The order to cancel has already been filled.