Missing KeyWitnessesUTXOW error

This is my balance.

 TxHash                                 TxIx        Amount
--------------------------------------------------------------------------------------
d59655d37f4838e0d62dd626cca2d95429d59b97dab3cf7a1aea25a62f7cfe51     1        97630586 lovelace + TxOutDatumNone

And here are the commands which i am excicuting.

cardano-cli transaction build-raw \
--fee 173069 \
--tx-in d59655d37f4838e0d62dd626cca2d95429d59b97dab3cf7a1aea25a62f7cfe51#0 \
--tx-out addr_test1qz3t2dyxy28c30vk9skj3crsjyj30zvuk0nlrm2c5rd9xzyvdm7hkdy4dtdmsvxg3gc0ddg52etkffmf0sx4rl5zwv7s39k2xg+97457517 \
--tx-out $(cat payment.addr)+0 \
--out-file alien_babies_tx.raw

And sign the transaction.

--signing-key-file payment.skey \
--testnet-magic 1097911063 \
--tx-body-file alien_babies_tx.raw \
--out-file alien_babies_tx.signed

Then submit.

--tx-file  alien_babies_tx.signed \
--testnet-magic 1097911063

But i am getting the below messeage. what i have to do here.

command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash “2d1213af4634bc5686f93be2c930e9c265e0920ef9995b7e8045d3f1”])))),UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Testnet (KeyHashObj (KeyHash “76fa63d342bf4fdb93d90cae41a124fdad3ee475c2d669663ab4bf01”)) StakeRefNull,Value 0 (fromList ),SNothing)]))),UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (ValueNotConservedUTxO (Value 2000000 (fromList [(PolicyID {policyID = ScriptHash “3510b5d632d14fec53e51c6d2f9fa355ce20113ae376e296ef4c1d3a”},fromList [(“eduladderTestCoin2”,1000)])])) (Value 97630586 (fromList )))))])

Could it be (again) that it’s just the wrong index? Your balance says that the index is 1, but you are using 0 in the --tx-in.

What is this index and why there is a refrence to eduladder testcoin on the error

The index is in the column TxIx in the cardano-cli query utxo output and the thing behind the # in --tx-in. They have to be the same if you want to spend that UTxO.

A UTxO is an unspent transaction output. It is identified by the transaction ID and the index of the output in that transaction (since transactions can have lots of different outputs).

For example, the one you want to choose is the second output of https://testnet.cardanoscan.io/transaction/d59655d37f4838e0d62dd626cca2d95429d59b97dab3cf7a1aea25a62f7cfe51 (index 1). But you chose the first output (index 0).

This explains all the errors. eduladderTestCoin2 is in this first output and it went to a different address, so your witness is also wrong. You would need a different key to sign a spending of this output.