UtxoFailure- Unable to send transaction errors

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.

If you do this correctly (18.9 Send a simple transaction) Guide: How to build a Cardano Stake Pool - CoinCashew, it should work.

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

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 ))])))]