# Unable to register stake address on the mainnet

**URL:** <https://forum.cardano.org/t/unable-to-register-stake-address-on-the-mainnet/38762>\
**Category:** Operate a Stake Pool\
**Created:** [18 August 2020 22:53 UTC](https://forum.cardano.org/t/unable-to-register-stake-address-on-the-mainnet/38762 "2020-08-18T22:53:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trung.Than](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/trung.than/32/10270_2.png) [@Trung.Than](https://forum.cardano.org/u/Trung.Than)\
**Post date:** [18 August 2020 22:53 UTC](https://forum.cardano.org/t/unable-to-register-stake-address-on-the-mainnet/38762/1 "2020-08-18T22:53:28Z")

</div>

Hi all,

I’ve Google searched the error I got while trying to register a stake address to the blockchain but couldn’t find a solution. Therefore, I’m posting it here to hopefully have someone to help fix it. Sorry if it is a silly question or it has already answered somewhere.

I’m trying to register a stake address but I keep having this error:

> “Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (BadInputsUTxO (fromList [TxInCompact (TxId {\_unTxId = “b64ae44e1195b04663ab863b62337e626c65b0c9855a9fbb9ef4458f81a6f5ee”}) 1])))),LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Coin 0) (Coin 87177000))))]”

From Google search, I think it complained that my input coin amount is ZERO, but checking the balance, I did have the right amount which is 87177000

> ## cardano-cli shelley query utxo --address $(cat payment.addr) --mainnet TxHash TxIx Lovelace
> 
> a7ff6b087e8f67df0ec356bf04b971e480a82548602d5b10a181f5d8b2e4e0dc 11 87177000

Below are the commands I used to submit the transaction:

> cardano-cli shelley transaction build-raw --tx-in b64ae44e1195b04663ab863b62337e626c65b0c9855a9fbb9ef4458f81a6f5ee#1 --tx-out $(cat payment.addr)+85004547 --ttl 6224000 --fee 172453 --out-file tx.raw --certificate-file stake.cert

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

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

Your help would be greatly appreciated. I’ve spent quite a lot of time trying to figure out ☹

Thanks

---

<div class="post-metadata">

**Author:** ![ADAfrog](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adafrog/32/16303_2.png) [@ADAfrog](https://forum.cardano.org/u/ADAfrog)\
**Post date:** [18 August 2020 23:04 UTC](https://forum.cardano.org/t/unable-to-register-stake-address-on-the-mainnet/38762/2 "2020-08-18T23:04:29Z")

</div>

looks like you’re using the wrong utxo

> a7ff6b087e8f67df0ec356bf04b971e480a82548602d5b10a181f5d8b2e4e0dc 11 87177000

doesn’t match

> b64ae44e1195b04663ab863b62337e626c65b0c9855a9fbb9ef4458f81a6f5ee#1

---

<div class="post-metadata">

**Author:** ![Trung.Than](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/trung.than/32/10270_2.png) [@Trung.Than](https://forum.cardano.org/u/Trung.Than)\
**Post date:** [18 August 2020 23:08 UTC](https://forum.cardano.org/t/unable-to-register-stake-address-on-the-mainnet/38762/3 "2020-08-18T23:08:27Z")

</div>

Oh, really appreciate your quick help ADAfrog.

I copied the command from the guide and I thought that the address hash I need to send the fees to.  
But obviously I was wrong. Now I understand it now. Thanks a lot

---

<div class="post-metadata">

**Author:** ![ADAfrog](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adafrog/32/16303_2.png) [@ADAfrog](https://forum.cardano.org/u/ADAfrog)\
**Post date:** [18 August 2020 23:09 UTC](https://forum.cardano.org/t/unable-to-register-stake-address-on-the-mainnet/38762/4 "2020-08-18T23:09:33Z")

</div>

My pleasure, Trung!

Let us know if you need any further assistance.

Your friend, FROG

---

<div class="post-metadata">

**Author:** ![Trung.Than](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/trung.than/32/10270_2.png) [@Trung.Than](https://forum.cardano.org/u/Trung.Than)\
**Post date:** [18 August 2020 23:41 UTC](https://forum.cardano.org/t/unable-to-register-stake-address-on-the-mainnet/38762/6 "2020-08-18T23:41:23Z")

</div>

Updating the tx-in to a7ff6b087e8f67df0ec356bf04b971e480a82548602d5b10a181f5d8b2e4e0dc#11 fixed the issue. Thanks a lot ADAfrog 🙏

---

<div class="post-metadata">

**Author:** ![ADAfrog](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adafrog/32/16303_2.png) [@ADAfrog](https://forum.cardano.org/u/ADAfrog)\
**Post date:** [19 August 2020 00:03 UTC](https://forum.cardano.org/t/unable-to-register-stake-address-on-the-mainnet/38762/7 "2020-08-19T00:03:08Z")

</div>

My pleasure, Trung!
