Skip to content

3.6 Query APIs Error Reference

HTTP status is always 200; judge by the code inside the envelope (code == 0 means success).

codeDescription
0Success
10000Authentication failed / missing X-Body-Hash
10020Invalid parameter (e.g. ticket_id missing or not a UUID, time range missing or exceeding 90 days)
10030No data found
10060Rate limit triggered
10070Unknown error (unclassified / unexpected error, defaults here)
10080Internal server error

TIP

The table above lists the currently known code values. If any other error not listed appears, 10070 (unknown error) is returned by default. Do not hard-code a whitelist check on codetreat any code != 0 as a failure and refer to message, to remain compatible with error codes that may be added in the future.

BFX EXCHANGE · BE THE GAME CHANGER