# Why does smash server say I've got a metadata mismatch?

**URL:** <https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270>\
**Category:** Operate a Stake Pool\
**Created:** [19 September 2021 15:21 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270 "2021-09-19T15:21:33Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelloCardano33](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/hellocardano33/32/23814_2.png) [@HelloCardano33](https://forum.cardano.org/u/HelloCardano33)\
**Post date:** [19 September 2021 15:21 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/1 "2021-09-19T15:21:33Z")

</div>

Hi,

I operate a pool and have been operating a pool for around a year now with minimal issues. Recently, I noticed an issue in SMASH server that’s saying I have a metadata mismatch, but I haven’t changed my metadata at all since the errors started popping up. Is this an issue I should be worried about / is this at all affecting my slot leadership? Haven’t minted a block since I saw the issue, but thought perhaps it was bad luck. I’ve got a 50% chance of minting each epoch.

Thanks!

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [19 September 2021 16:15 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/2 "2021-09-19T16:15:46Z")

</div>

Metadata will affect the visibility of pool in daedalus or yoroi, as long your pool is visible on [pooltool.io](http://pooltool.io) and [adapools.org](http://adapools.org) (by ticker) should be fine (daedalus use pooltool and yoroi adspools)… the blocks are not affected

---

<div class="post-metadata">

**Author:** ![mcrio](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mcrio/32/40017_2.png) [@mcrio](https://forum.cardano.org/u/mcrio)\
**Post date:** [19 September 2021 20:47 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/3 "2021-09-19T20:47:21Z")

</div>

Also check with [https://pool.vet](https://pool.vet) It’ll pull the file from the server and compare hashes.

_At the moment of writing this message pool.vet does not work due to DB resync._

---

<div class="post-metadata">

**Author:** ![HelloCardano33](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/hellocardano33/32/23814_2.png) [@HelloCardano33](https://forum.cardano.org/u/HelloCardano33)\
**Post date:** [19 September 2021 22:00 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/4 "2021-09-19T22:00:53Z")

</div>

Thanks! I check pool.vet regularly and it always says my pool is online and that the metadata matches. Just not sure why it would display differently on smash server.

---

<div class="post-metadata">

**Author:** ![HelloCardano33](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/hellocardano33/32/23814_2.png) [@HelloCardano33](https://forum.cardano.org/u/HelloCardano33)\
**Post date:** [19 September 2021 22:01 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/5 "2021-09-19T22:01:49Z")

</div>

Great, thanks. Is there any reason that it would show up as mismatching metadata hashes on SMASH server as opposed to pool.vet or other tools like that? I haven’t changed my metadata so I’m not sure why it’s been an issue lately popping up on SMASH

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [20 September 2021 05:59 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/6 "2021-09-20T05:59:42Z")

</div>

This days pool.vet has a sync issues but wait few days and check the pool on it

---

<div class="post-metadata">

**Author:** ![mcrio](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mcrio/32/40017_2.png) [@mcrio](https://forum.cardano.org/u/mcrio)\
**Post date:** [20 September 2021 08:04 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/7 "2021-09-20T08:04:38Z")

</div>

You can compare the metadata hashes manually as well:

```auto
cardano-cli stake-pool metadata-hash --pool-metadata-file <(curl -s -L https://METADATA_URL)
cardano-cli stake-pool metadata-hash --pool-metadata-file <(cat METADATAFILE.json)

```

---

<div class="post-metadata">

**Author:** ![Conchita](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/conchita/32/45877_2.png) [@Conchita](https://forum.cardano.org/u/Conchita)\
**Post date:** [2 October 2021 10:26 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/8 "2021-10-02T10:26:34Z")

</div>

I was trying this solution as well, but the first command does not work.

so I did:  
$ curl -s -L [https://www.website.com/testpool.json](https://www.website.com/testpool.json) \> temporaryfile  
and  
$ cardano-cli stake-pool metadata-hash --pool-metadata-file temporaryfile

and I got:  
Command failed: stake-pool metadata-hash Error: Error validating stake pool metadata: Error in $: not enough input

making a hash of the original file works though  
($ cardano-cli stake-pool metadata-hash --pool-metadata-file /var/www/website/testpool.json)

---

<div class="post-metadata">

**Author:** ![mcrio](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mcrio/32/40017_2.png) [@mcrio](https://forum.cardano.org/u/mcrio)\
**Post date:** [2 October 2021 10:41 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/9 "2021-10-02T10:41:25Z")

</div>

> [@Conchita](#):
>
> –pool-metadata-file temporaryfile

try with `./temporaryfile`

> [@Conchita](#):
>
> but the first command does not work.

make sure you have no space between `<` and `(`, like: `<(curl -s -L https://METADATA_URL)`

---

<div class="post-metadata">

**Author:** ![Conchita](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/conchita/32/45877_2.png) [@Conchita](https://forum.cardano.org/u/Conchita)\
**Post date:** [2 October 2021 10:56 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/10 "2021-10-02T10:56:10Z")

</div>

thank you mcrio,  
but no result:

$ cardano-cli stake-pool metadata-hash --pool-metadata-file \<(curl -s -L [https://www.website.com/testpool.json](https://www.website.com/testpool.json))  
Command failed: stake-pool metadata-hash Error: Error validating stake pool metadata: Error in $: not enough input

I can visit the website though. If I go to [www.website.com/testpool.json](http://www.website.com/testpool.json) I see the information as listed in the course material

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [2 October 2021 11:11 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/11 "2021-10-02T11:11:46Z")

</div>

Can u share the url, perhaps the metadata has wrong inputs?

---

<div class="post-metadata">

**Author:** ![Conchita](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/conchita/32/45877_2.png) [@Conchita](https://forum.cardano.org/u/Conchita)\
**Post date:** [2 October 2021 14:56 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/12 "2021-10-02T14:56:20Z")

</div>

[http://www.luculus.nl/testpool.json](http://www.luculus.nl/testpool.json)

thank you

---

<div class="post-metadata">

**Author:** ![mcrio](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mcrio/32/40017_2.png) [@mcrio](https://forum.cardano.org/u/mcrio)\
**Post date:** [2 October 2021 14:59 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/13 "2021-10-02T14:59:11Z")

</div>

> [@Conchita](#):
>
> [http://www.luculus.nl/testpool.json](http://www.luculus.nl/testpool.json)

Hash of this one is: `ae79dd08afb3d60b9ed1777206d31b39402b357a771c0ea443fc41d54414e653`

Please compare with the local file calculated hash.

---

<div class="post-metadata">

**Author:** ![Conchita](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/conchita/32/45877_2.png) [@Conchita](https://forum.cardano.org/u/Conchita)\
**Post date:** [2 October 2021 15:06 UTC](https://forum.cardano.org/t/why-does-smash-server-say-ive-got-a-metadata-mismatch/75270/14 "2021-10-02T15:06:01Z")

</div>

it is the same…  
cardano-cli stake-pool metadata-hash --pool-metadata-file /var/www/luculus/testpool.json  
ae79dd08afb3d60b9ed1777206d31b39402b357a771c0ea443fc41d54414e653

more info on Tx and poolID

> [@Stakepool not visible on testnet](https://forum.cardano.org/t/stakepool-not-visible-on-testnet/77576):
>
> Dear fellow ada-lovers, Whilst doing the stake pool course I registered my stake pool on the testnet by submitting the certificate. I can find the transaction on the testnet: Transaction ID 4e4698087f2b898b8c14c0196b549c8ea3a621ef0c4f608ac0d4649ce009915b but I cannot find it on [pooltools.io](http://pooltools.io) - testnet nor do the commands cardano-cli shelley query ledger-state --testnet-magic 1097911063 | grep publicKey | grep or cardano-cli shelley query ledger-state --testnet-magic 1097911063 \ | jq ‘…
