Sometimes XRPL transaction fails for a range of reasons. A “tec” code is displayed which can give you a clue to what went wrong.
Here is a list of the most frequent errors that you can encounter on GateHub and ways to fix them.
Error |
What happened? |
What you can do? |
tecINSUF_RESERVE_OFFER |
The XRP reserve is insufficient to create a new open order. |
|
tecNO_LINE_INSUF_RESERVE |
The XRP reserve is insufficient to create a new trust line. |
|
tecNO_DST_INSUF_XRP |
Attempted to send an insufficient amount of XRP to an inactive address. |
|
tecUNFUNDED |
The transaction failed because the sending account is trying to send more XRP than it holds, not counting the reserve. |
|
tecUNFUNDED_PAYMENT |
The transaction failed because the sending account is trying to send more XRP than it holds, not counting the reserve. |
|
tecUNFUNDED_OFFER |
The OfferCreate transaction failed because the account creating the offer does not have any of the offered currency. |
|
tecPATH_DRY |
Scenario 1: Occurs when you are trying to send a payment in a currency you presently do not own and there is not enough liquidity on the markets to execute a favorable conversion.
Scenario 2: Occurs when the destination address does not have the correct trust line. |
|
tecDST_TAG_NEEDED |
A destination tag is required at the destination address. |
Add destination tag to your payment. |
tecNO_LINE |
The destination wallet does not have the correct trust line set or is not authorized to hold this trust line. |
Send XRP or a currency that the destination wallet has a trust for. |
tecPATH_PARTIAL |
The transaction failed because the provided paths did not have enough liquidity to send the full amount. |
Manually exchange funds to the destination currency. You will need to create a trade order and will need to add the currency’s trust line. |
tecFROZEN |
One or both of the assets are subject to global freeze. For example, GateHub issued QAUs are frozen on the XRPL. |
Freezing an asset Freezing an asset that is no longer supported by an XRPL gateway is the responsible thing to do. These assets are usually worthless, regardless of the value they may have held. If you find yourself holding such an asset it can only be sent to the issuing address. After sending these assets away, the corresponding trust line can be closed and the 2 XRP reserve is released. |
For advanced users and those who want to learn more
A full list of tec codes is available here.
All transaction results are available here.