Diagnosing problems and troubleshooting

If you experience any problems while setting up your network, we are here to help. Logs created by the nodes will help us classify any problems and suggest solutions. The log levels used are info, debug, and trace. This section outlines how to diagnose and solve some problems that you may encounter:

Problem: Failed reading: Your input is either malformed or not hex encoded:

--tx-in f5296e996940b1c81f781594293d423b4250a454f5832b0740a923f74460d34#1 \
--tx-out $(cat payment2.addr)+100000000 \
--tx-out $(cat payment.addr)+899832033 \
--ttl 335000 --fee 167965 \
--out-file tx001.raw
malformed or not hex encoded:

Diagnosis: tx-in is not a valid UTXO

Solution: Make sure that you are using a correct UTXO. You can query this with:

--address $(cat payment.addr) \
--testnet-magic 42

Problem: ExpiredUTxO

> --tx-file tx001.signed \
> --testnet-magic 42

Diagnosis: TTL has already passed.

Solution: Look at pfUTXOttl and pfUTXOcurrentSlot. Current Slot is ahead of UTXOttl.

Build a new transaction with a TTL (time to live) higher than Current Slot. As a rule of thumb, you will need between 300-500 slots to build, sign, and submit the transaction.

Problem: ValueNotConservedUTxO

> --tx-file tx001.signed \
> --testnet-magic 42

Diagnosis: Value not Conserved: (Input UTXO ≠ Fee + Amount sent + Change)

Solution: Check that output amount is equal to input amount

Problem: BadInputsUTxO

--tx-file tx001.signed \
--testnet-magic 42

Diagnosis: Bad UTXO transaction index

Solution: Verify the UTXO transaction index using:

--address $(cat payment.addr) \
--testnet-magic 42
7f1d95ce599c84064c61903c0b1334c826b55c48a1.... 1 1000000000000

We encourage you to share your ideas and suggestions on our dedicated support page so that we can create a library of solutions and support for the tasks that you need to perform.

© IOHK 2015 - 2022

Cardano is an open-source project.

Cardano is a software platform ONLY and does not conduct any independent diligence on, or substantive review of, any blockchain asset, digital currency, cryptocurrency or associated funds. You are fully and solely responsible for evaluating your investments, for determining whether you will exchange blockchain assets based on your own judgement, and for all your decisions as to whether to exchange blockchain assets with Cardano. In many cases, blockchain assets you exchange on the basis of your research may not increase in value, and may decrease in value. Similarly, blockchain assets you exchange on the basis of your research may fall or rise in value after your exchange.

Past performance is not indicative of future results. Any investment in blockchain assets involves the risk of loss of part or all of your investment. The value of the blockchain assets you exchange is subject to market and other investment risks