Overview
Common errors of blockchain connectors
Error name | Error code | Error description |
---|---|---|
appErrorInvalidPublicKey |
-10 |
Invalid public key (publicKey) Examples of error messages: "Invalid publicKey" "Invalid y value for curve" "Invalid publicKey. Unknown point format" |
appErrorSameAddressTransfer |
-12 |
Occurs if the sender's address is identical to the recipient's address Example of an error message: "Invalid argument to. …Cannot transfer to the same account…" |
appErrorInvalidAmount |
-14 |
Occurs when inputting a sum (amount) that exceeds the allowable value Examples of error messages: "Invalid_argument_amount, value out-of-bounds" "Assertion failed, invalid argument amount" "Invalid_argument_amount: startingBalance must be of type String, represent a non-negative number and have at most 7 digits after the decimal" |
appErrorInvalidTxData |
-16 |
Transaction data decoding error (txdata) Examples of error messages: "TX decode failed. Make sure the tx has at least one input" "Invalid signedTransaction: Failed to decode the transaction" |
appErrorInvalidSignature |
-17 |
Invalid signature Examples of error messages: "The provided signature doesn't match the transaction hash" "Invalid signature. Signature verification failed" |
appErrorUnderfundedAction |
-23 |
Occurs if there are not enough funds to send Examples of error messages: "Operation is underfunded" "Underfunded action" |
appErrorTransactionExpired |
-24 |
The transaction has expired Examples of an error message: "Transaction expiration error" "The ledger closeTime was after the maxTime" |
appErrorNoSourceAccount |
-25 |
Occurs if the transaction could not be confirmed Possible reasons: - the account that initiated the transaction has not been activated; - invalid sender's address; - invalid contract address. Examples of an error message: "The source account does not exist" "Stellar source account doesn\'t exist" |
appErrorInvalidAsset |
-26 |
Occurs if the smart contract does not exist or it is invalid Example of an error message: "Invalid asset. No contract or not a valid smart contract" |
Errors specific to blockchain-connector-eth-like-service
Error name | Error code | Error description |
---|---|---|
appErrorInvalidGasLimit |
-101 |
Invalid gasLimit Example of an error message: "Invalid_argument_gasLimit: invalid length for gasLimit" |
appErrorInvalidGasPrice |
-102 |
Invalid gasPrice Example of an error message: "Invalid_argument_gasPrice: invalid length for gasPrice" |
appErrorInvalidNonce |
-103 |
Invalid parameter nonce Example of an error message: "Invalid_argument_nonce: invalid hexlify value" |
Errors specific to blockchain-connector-btc-like-service
Error name | Error code | Error description |
---|---|---|
appErrorInvalidUtxoValue |
-202 |
Invalid utxo (internal parameter value) Example of an error message: "Assertion failed, invalid argument amount" |
appErrorInvalidUtxoTxId |
-203 |
Invalid utxo (internal parameter txid) Example of an error message: "Invalid TXID in object" |
Errors specific to blockchain-connector-xlm-service
Error name | Error code | Error description |
---|---|---|
appErrorInvalidClaimableBalanceId |
-301 |
Invalid parameter claimableBalanceId Examples of error messages: "Invalid_argument_claimableBalanceId: must provide a valid claimable balance id" "There is no existing ClaimableBalanceEntry that matches the input BalanceID" |
appErrorNoSourceAccount |
-302 |
Occurs if the account is not activated Example of an error message: "Stellar source account doesn\'t exist" |
appErrorLowReserve |
-303 |
Occurs if the amount on the account is too small to create an account Example of an error message: "The amount is too low to create an account" |
appErrorNoTrust |
-304 |
Occurs if the recipient does not trust the issuer of the asset being sent Examples of error messages: "The receiver does not trust the issuer of the asset being sent" "The source account does not trust the issuer of the asset being sent" |
appErrorNoDestination |
-305 |
Occurs if the recipient's account does not exist Example of an error message: "The receiving account does not exist" |
appErrorBadSequenceNumber |
-306 |
Occurs if a transaction with this serial number has already been sent to the network. A transaction’s sequence number must always increase by one Example of an error message: "Sequence number does not match source account" |
appErrorInvalidFee |
-308 |
Occurs if the commission exceeds the allowed value Example of an error message: "Invalid_argument_fee: …The value of "value" is out of range…" |
appErrorInvalidMemo |
-309 |
Invalid parameter memo Example of an error message: "Invalid_argument_memo: Expects string, array or buffer, max 28 bytes" |
appErrorInvalidAssetIssuer |
-311 |
Invalid parameter issuer Example of an error message: "Invalid_argument_asset": "Issuer must start with G and contain 56 alphanum characters" |