The format of error messages:
{
"errorCode": "000",
"message": "Internal server error"
}
The Calypso API uses the following error codes:
errorCode | Message | Comment |
---|---|---|
000 | Internal server error | Error on system side. Please contact the support. |
001 | Bad request | Incorrect input data. |
002 | Invalid api key | Invalid public api key in request. |
003 | Wrong sign | Sign transmitted in request is built incorrectly. |
004 | Wallet with this address {address} does not exist | Error occurs when non-existent wallet address transmitted in request |
006 | Invoice is in incorrect state for operation | |
009 | Fee ratio of currency is not in range of min and max fee ratio | |
010 | Wallet doesn't belong to user company | |
011 | Invalid nonce parameter. Nonce value must be greater than previous one | |
012 | Invalid Payout state | |
014 | Invalid hot wallet currency | |
015 | Currency does not match wallet blockchain | |
016 | IdempotencyKey {idemmpotencyKeyUUID} already exists | In the payout creation request already used uuid for idempotency key is transmitted |
016 | Can not create deal. Validation failed | Validation error in payout creation. One or more request parameters were not validated |
028 | Can not create invoice payment for invoice {invoiceId}. Allow only for UNLIMITED invoices | Error occures when in the request "create withdrawal from unlimited invoice" invoice of incorrect type is transmitted |