CONTRACT_VALIDATE_ERROR on TRON: what it means and how to fix it
CONTRACT_VALIDATE_ERROR is the response code a TRON node returns when it rejects a transaction at the validation stage, before it runs. The code is generic; the real reason is in the message, which is often hex-encoded. A common cause is an address that was never activated (account does not exist) or a balance that cannot cover the amount plus the fee. Decode the message, match it in the table below, then fix the address, balance or contract address and send again.
Last updated
What does CONTRACT_VALIDATE_ERROR mean on TRON?
CONTRACT_VALIDATE_ERROR is a broadcast response code. According to the TRON developer docs, it covers pre-execution validation that failed, and the node "rejected it at the validation stage." The same docs say such a transaction never enters the mempool. That is why it behaves differently from OUT_OF_ENERGY, which only appears after a transaction has been included in a block and failed while running.
The code itself carries almost no information. The docs put it this way: the error code only says validation failed, and the real reason is in message. So the useful question is what the message says. If you have not met TRON transfers before, start with what TRC20 is andhow USDT TRC20 fees work, then come back. A Traditional Chinese version of this topic is here: 中文版.
How do I read the message behind the error?
The message is normally hex when the request leaves visible out or sets it to false, and plain text when visible is true. The TRON docs recommend checking the format first: if the whole string is made of hex pairs, decode it as UTF-8, and if it is not, leave it as it is. Most SDKs do this for you. When you parse the HTTP response yourself, a plain-text message mistaken for hex produces garbage.
In the java-tron source, the broadcast code adds the prefix "Contract validate error : " in front of the exception text. So a decoded message usually reads like "Contract validate error : Validate TransferContract error, balance is not sufficient." The part after the colon is the part to match. Checked 2026-11-15 against the public java-tron repository.
Which detail message is it, and how do I fix it?
The first four rows are listed in the TRON docs. The rest are strings we read in java-tron's validation code. Causes are written as common causes, not guarantees.
| Detail message | Common cause | Fix |
|---|---|---|
| account does not exist | The docs say the signing or recipient address has never been activated on-chain. Staking actions in java-tron use a longer form, "Account[address] does not exist" | Send that address a small amount of TRX first. See the address lookup guide to check whether an address is active |
| Validate TransferContract error, balance is not sufficient. | The source compares the balance with amount plus fee. If the recipient is a brand new address, the account creation fee is added to the fee | Leave TRX on top of the amount. Do not send your entire TRX balance to a new address |
| Validate ... error, no OwnerAccount | The docs: the owner_address in the request is malformed or unknown | Check the sending address character by character and make sure it is the one you hold |
| No contract or not a valid smart contract | The docs: the contract address is wrong or points to a non-contract account. The java-tron string reads "No contract or not a smart contract" | Re-add the token from a trusted source and compare the contract address with the official one. See the TRON wallet USDT guide |
| this node does not support constant | The docs: the node has vm.supportConstant set to false, common on self-built nodes | Point the app or script at a node that supports it |
| Cannot transfer TRX to yourself. | The to and from addresses are identical | Change the recipient |
| Amount must be greater than 0. | A zero or negative amount reached the node, often after a typo or a unit mix-up | Re-enter the amount and send a small test first |
| Invalid ownerAddress! / Invalid toAddress! | The address did not pass the address format check | Copy it again, or scan the QR code instead of typing |
| assetBalance is not sufficient. | A TRC10 transfer for more than the account holds | Lower the amount or top up the token |
| feeLimit must be >= 0 and <= (the network maximum) | A contract call carried a fee limit outside the allowed range | Set it inside the range. fee_limit is the caller's Energy budget cap for that transaction (in sun). It covers staked or delegated Energy used plus TRX burned to make up the rest, and not Bandwidth. Set too low, it can end in OUT_OF_ENERGY even when resources are enough; only a negative value or one above the cap is rejected at validation. See the out of energy page |
| frozenBalance must be greater than or equal to 1 TRX | A staking amount below the minimum | Stake at least 1 TRX |
Why does a new recipient address matter?
The java-tron transfer code adds an account creation fee to the fee whenever the recipient account does not exist yet, then checks that the sender's balance covers amount plus fee. That is a detail most wallet screens do not show. The practical result is that sending exactly your whole TRX balance to an address that has never been used can fail on the balance check even though the amount alone would have fit.
The TRXMAN team says an address that has not been activated cannot use energy. It needs at least some TRX in it, any amount will do, and nothing bad happens, but the fee is higher because the address holds no USDT. Read this about your own sending address, the one you pay out from. For the energy side of it, see sending USDT without TRX andthe energy calculator.
Where do Trust Wallet and TronLink show this error?
Both apps send the transaction through a TRON node, and the node returns the code and the message described above. Depending on the app version, you may see the code, a decoded sentence, or only a generic failure notice.
- Sending TRX or USDT. A common cause is a recipient or sender address problem or a balance that cannot cover the amount plus the fee. Check the address first, then the TRX balance.
- Tokens you added by hand. A wrong contract address is a common cause of "No contract" style messages. Remove the token and add it again from a trusted list.
- Staking. The Stake 2.0 check in java-tron rejects a staking amount below 1 TRX and one above the account balance.
- Unstaking. The 1 TRX minimum is a staking rule. For unstaking, the source checks that the amount is greater than 0 and not more than the matching staked balance.
- Energy or Bandwidth confusion. Those problems show up as different errors.The TronLink energy guide covers that side.
What should I do, step by step?
- Get the full message. If your tool shows hex, decode it as described above.
- Match it in the table. Open the sending address in the address analyzer to see whether it is active and how much TRX it holds.
- Look for a TxID. If there is none, the transaction may not have been accepted by the node, so check wallet history and how to check a USDT TRC20 transaction. A TxID that does exist can be read in the transaction analyzer.
- Fix the one thing the message names, then send a small test amount before the full one.
- If the message is not in the table, search for it in the java-tron validation code or the TRON docs, and see TRC20 vs ERC20 if you are mixing up networks.
If a transfer later fails on execution rather than validation, switch tothe out of energy guide and, for rented energy, tothe rental page. See the current price on the rental page.
Still stuck? Send the decoded message and your TxID, if you have one, to us on Telegram. The English home page lists every guide.
Checked 2026-11-15.
FAQ
Does a CONTRACT_VALIDATE_ERROR cost me TRX or energy?
The TRON docs say the node rejected the transaction at the validation stage and that it never enters the mempool. They do not say anything about resources being charged for that kind of failure, so check your balance before and after instead of assuming either way. A failure that happens after the transaction is in a block, such as OUT_OF_ENERGY, is a different case and is covered on the out of energy page.
Why can I not find the transaction on TRONSCAN?
A common reason is that the node refused it before it was ever included, so there may be no TxID to look up. Because the docs say the transaction never enters the mempool, an empty search is consistent with that. It still does not prove it by itself, so also check the sending address history and the wallet activity list.
My wallet only shows a code with no message. What now?
The code only says validation failed. The reason is in the message, and over the HTTP API it is usually hex. If the wallet hides it, work through the table above in order: is the sending address activated, does it hold amount plus fee in TRX, is the contract address right. Then try a small test amount.
Is this the same as a REVERT or OUT_OF_ENERGY?
No. Those two show up on the receipt of a transaction that was included in a block and then failed while running. CONTRACT_VALIDATE_ERROR is reported in the broadcast response, before execution. The fixes are different, so read the code first.
Sources
- TRON docs: broadcast and RPC errors (pre-execution validation, hex or UTF-8 message, the first four table rows)
- TRON docs: errors and debugging (rejected at the validation stage, never enters the mempool, hex detection)
- java-tron TransferActuator.java (balance, new account fee, self transfer, amount and address checks)
- java-tron VMActuator.java (No contract or not a smart contract, feeLimit range)
- java-tron TransferAssetActuator.java (TRC10 assetBalance check)
- java-tron FreezeBalanceV2Actuator.java (frozenBalance minimum of 1 TRX)
- java-tron UnfreezeBalanceV2Actuator.java (the long "Account[address] does not exist" form)
- java-tron ActuatorConstant.java (the shared "Account[" prefix and "not exists" suffix strings)
- java-tron Wallet.java (the "Contract validate error : " prefix)