# UtxoFailure- Unable to send transaction errors

**URL:** <https://forum.cardano.org/t/utxofailure-unable-to-send-transaction-errors/68775>\
**Category:** Operate a Stake Pool\
**Created:** [13 August 2021 11:46 UTC](https://forum.cardano.org/t/utxofailure-unable-to-send-transaction-errors/68775 "2021-08-13T11:46:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvpolivares](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@jvpolivares](https://forum.cardano.org/u/jvpolivares)\
**Post date:** [13 August 2021 11:46 UTC](https://forum.cardano.org/t/utxofailure-unable-to-send-transaction-errors/68775/1 "2021-08-13T11:46:35Z")

</div>

Hello, i’m trying to create a trasaction to move funds from node to daedalus waalet, but i’m getting the next error message:

Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (BadInputsUTxO (fromList [TxInCompact (TxId {\_unTxId = “1c7a12023361f70836f3bc437038dc0488655dc1d8d62d61bdde311b670c77b1”}) 0,TxInCompact (TxId {\_unTxId = “6baa19df0fe2fc6e8f995e9241f1d56ffd295899ee18a6ce7276226d9b8fa07b”}) 0])))),LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Value 0 (fromList )) (Value 231136559 (fromList ))))),LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Mainnet (KeyHashObj (KeyHash “ea485504f02210565b001042c151e0cfa9625b21f082cc390916cf00”)) (StakeRefBase (KeyHashObj (KeyHash “e46934e32db7db7f455d68c5eed5aae1ce1d4b7c91503091401c9a63”))),Value 0 (fromList ))])))]

I’ve exectuted this commands:

cardano-cli query protocol-parameters --mainnet --out-file protocol.json --mary-era

cardano-cli query utxo --address $(cat payment.addr) --mainnet --mary-era

## TxHash TxIx Amount

1c7a12023361f70836f3bc437038dc0488655dc1d8d62d61bdde311b670c77b1 0 31821299 lovelace  
6baa19df0fe2fc6e8f995e9241f1d56ffd295899ee18a6ce7276226d9b8fa07b 0 199315260 lovelace

cardano-cli transaction build-raw   
–tx-in 1c7a12023361f70836f3bc437038dc0488655dc1d8d62d61bdde311b670c77b1#0   
–tx-in 6baa19df0fe2fc6e8f995e9241f1d56ffd295899ee18a6ce7276226d9b8fa07b#0   
–tx-out  
addr1qxpaf6avt9axhgdmlu85fpdnhmys2r9cent3d85xrl3gh658mrcp6tn6xfx286yzmjt5a85he2d8nxkjjqmzxfqlmydqz3y9kp+0   
–tx-out $(cat payment.addr)+0   
–invalid-hereafter 0   
–fee 0   
–out-file tx.draft

cardano-cli transaction calculate-min-fee --tx-body-file tx.draft --tx-in-count 2 --tx-out-count 2 --witness-count 1 --byron-witness-count 0 --mainnet --protocol-params-file protocol.json

cardano-cli transaction build-raw   
–tx-in 1c7a12023361f70836f3bc437038dc0488655dc1d8d62d61bdde311b670c77b1#0   
–tx-in 6baa19df0fe2fc6e8f995e9241f1d56ffd295899ee18a6ce7276226d9b8fa07b#0   
–tx-out  
addr1qxpaf6avt9axhgdmlu85fpdnhmys2r9cent3d85xrl3gh658mrcp6tn6xfx286yzmjt5a85he2d8nxkjjqmzxfqlmydqz3y9kp+230956802   
–tx-out $(cat payment.addr)+0   
–invalid-hereafter 24594753   
–fee 179757   
–out-file tx.raw

cardano-cli transaction sign --tx-body-file tx.raw --signing-key-file payment.skey --mainnet --out-file tx.signed

cardano-cli transaction submit --tx-file tx.signed --mainnet

Is there any wrong command?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![DevJohn](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/devjohn/32/39856_2.png) [@DevJohn](https://forum.cardano.org/u/DevJohn)\
**Post date:** [13 August 2021 11:57 UTC](https://forum.cardano.org/t/utxofailure-unable-to-send-transaction-errors/68775/2 "2021-08-13T11:57:03Z")

</div>

If you do this correctly (18.9 Send a simple transaction) [Guide: How to build a Cardano Stake Pool - CoinCashew](https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#18-9-send-a-simple-transaction-example), it should work.

Also make sure that the invalid-hereafter value is greater than the current tip.

---

<div class="post-metadata">

**Author:** ![jvpolivares](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@jvpolivares](https://forum.cardano.org/u/jvpolivares)\
**Post date:** [17 August 2021 12:39 UTC](https://forum.cardano.org/t/utxofailure-unable-to-send-transaction-errors/68775/3 "2021-08-17T12:39:39Z")

</div>

Thanks in advance for your help.

when i submit the transaction, i get the same error:

Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (BadInputsUTxO (fromList [TxInCompact (TxId {\_unTxId = “1c7a12023361f70836f3bc437038dc0488655dc1d8d62d61bdde311b670c77b1”}) 0,TxInCompact (TxId {\_unTxId = “6baa19df0fe2fc6e8f995e9241f1d56ffd295899ee18a6ce7276226d9b8fa07b”}) 0])))),LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Value 0 (fromList )) (Value 231136559 (fromList ))))),LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Mainnet (KeyHashObj (KeyHash “ea485504f02210565b001042c151e0cfa9625b21f082cc390916cf00”)) (StakeRefBase (KeyHashObj (KeyHash “e46934e32db7db7f455d68c5eed5aae1ce1d4b7c91503091401c9a63”))),Value 0 (fromList ))])))]
