Skip to content

Errors

An error is { "code": "...", "message": "..." }: in a reply’s error on the WebSocket, or the body’s error over HTTP. message is for developers and says what went wrong.

Code HTTP Meaning
bad_request 400 Params that aren’t valid
unknown_method 404 No such method, or no such HTTP path
unknown_field 400 A field that doesn’t exist, or that can’t be used where it was, like a text field in sort
unsupported_threshold 400 A min_change or min_interval_ms that isn’t one of the supported values
not_found 404 No such token, trade or subscription
too_many 400 Over one of the limits
too_far_behind 400 More than 10,000 rows after an after_id or after, or a subscription the client fell too far behind on
upstream_unavailable Only in balances.* errors, for a source that couldn’t be read
internal 500 Something went wrong on the server