This repository has been archived by the owner on May 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Error Codes
Lior edited this page Jul 7, 2019
·
13 revisions
The json body error code is always prefixed by the http status code:
- ClientStreamError: 4000
- UnknownSignInType: 4001
- WrongJwtAlgorithm: 4002
- InvalidPollAnswers: 4003
- InvalidExternalOrderJwt: 4004
- InvalidJwtSignature: 4005
- JwtKidMissing: 4006
- MaxWalletsExceeded: 4007
- InvalidWalletAddress: 4008
- ExpiredJwt: 4009
- InvalidJwtIssuedTime: 40010
- MissingFieldJWT: 40011
- BadJWTInput: 40012
- MissingToken: 4011
- InvalidToken: 4012
- InvalidApiKey: 4013
- TOSMissingOrOldToken: 4014
- CrossAppWallet: 4015
- App: 4041
- Offer: 4042
- Order: 4043
- PublicKey: 4044
- OfferCapReached: 4045
- User: 4046
- OpenOrderExpired: 4081
- ExternalOrderAlreadyCompleted: 4091
- ExternalEarnOfferByDifferentUser: 4092
- CompletedOrderCantTransitionToFailed: 4093
- ExternalOrderByDifferentDevice: 4094
- UserHasNoWallet: 4095
- WrongBlockchainVersion: 4101
- Registrations: 4291
- Amounts: 4292
- UserRequests: 4293
- OpenedOrdersOnly: 5001
- OpenedOrdersUnreturnable: 5002
these errors aren't thrown, they are set to the order.error field
- WrongSender: 7001
- WrongRecipient: 7002
- WrongAmount: 7003
- AssetUnavailable: 7004
- BlockchainError: 7005
- TransactionTimeout: 7006