Here is the format of error JSON payload:
{
"success": 0,
"data": {
"code": 20003
}
}The following is the list of Bitbank's error codes.
10000Url not found.10001System error.10002Malformed request.10003System error.10005Timeout waiting for response.20001Authentication failed api authorization.20002Invalid api key.20003Api key not found.20004Invalid api nonce.20005Invalid api signature.20011MFA failed.20014SMS verification failed.20023Missing OTP code.20024Missing SMS code.20025Missing OTP and SMS code.20026MFA is temporarily locked because too many failures. Please retry after 60 seconds.30001Missing order quantity.30006Missing order id.30007Missing order id array.30009Missing asset.30012Missing order price.30013Missing side.30015Missing order type.30016Missing asset.30019Missing uuid.30039Missing withdraw amount.40001Invalid order quantity.40006Invalid count.40007Invalid end param.40008Invalid end_id.40009Invalid from_id.40013Invalid order id.40014Invalid order id array.40015Too many orders are specified.40017Invalid asset.40020Invalid order price.40021Invalid order side.40022Invalid trading start time.40024Invalid order type.40025Invalid asset.40028Invalid uuid.40048Invalid withdraw amount.50003Account is restricted.50004Account is provisional.50005Account is blocked.50006Account is blocked.50008Identity verification is not finished.50009Order not found.50010Order can not be canceled.50011Api not found.50026Order has already been canceled.50027Order has already been executed.60001Insufficient amount.60002Market buy order quantity has exceeded the upper limit.60003Order quantity has exceeded the limit.60004Order quantity has exceeded the lower threshold.60005Order quantity has exceeded the upper limit.60006Order price has exceeded the lower limit.60011Too many Simultaneous orders, current limit is 30.70001System error.70002System error.70003System error.70004Order is restricted during suspension of transactions.70005Buy order has been temporarily restricted.70006Sell order has been temporarily restricted.70009Market order has been temporarily restricted. Please use limit order instead.70010Minimum Order Quantity is increased temporarily.70011System is busy. Please try again.70012System error.70013Order and cancel has been temporarily restricted.70014Withdraw and cancel request has been temporarily restricted.70015Lending and cancel request has been temporarily restricted.70016Lending and cancel request has been restricted.70017Orders on pair have been suspended.70018Order and cancel on pair have been suspended.70019Order cancel request is in process.70020Market order has been temporarily restricted.70021Limit order price is over the threshold.