<p>This appears to be a mismatched node and CLI version.</p>
<p>Can you try with these versions?</p>
<p>cardano-node --version
cardano-node 9.1.1 - linux-x86_64 - ghc-8.10
git rev efd560070aaf042d1eb4680ae37fc607c7742319</p>
<p>cardano-cli --version
cardano-cli 9.2.1.0 - linux-x86_64 - ghc-8.10
git rev efd560070aaf042d1eb4680ae37fc607c7742319</p>
<p>Also, please ensure you're using <code>cardano-cli conway query leadership-schedule</code> as the default is babbage era and mainnet is no longer in babbage.</p>

CC BY-SA 4.0
2024-09-06T18:27:41.040Z
Works now after updating the node version and updating the comand with "conway". Thanks!

Previously I was using:
cardano-node 9.1.0 - linux-x86_64 - ghc-8.10
git rev 176f99e51155cb3eaa0711db1c3c969d67438958

cardano-cli 9.2.1.0 - linux-x86_64 - ghc-8.10
git rev 176f99e51155cb3eaa0711db1c3c969d67438958
Alo - RAMBO Pool
CC BY-SA 4.0
2024-09-05T14:05:17.873Z
2024-09-05T14:58:52.860Z
2024-09-05T14:58:52.860Z
Samuel Leathers
<p>I have been using <code>cardano-cli query leadership-schedule</code> every epoch for years, but now it has failed with this:</p>
<blockquote>
<p>Command failed: query leadership-schedule  Error: Failed to successfully decode the current epoch state: DecoderErrorDeserialiseFailure &quot;EpochState (ConwayEra StandardCrypto)&quot; (DeserialiseFailure 2123242835 &quot;expected word16&quot;)</p>
</blockquote>
<p>Any idea what caused this?</p>

<cardano-cli><stake-pool><leaderlog>
cardano-cli query leadership-schedule DecoderErrorDeserialiseFailure "expected word16"
# cardano-cli query leadership-schedule DecoderErrorDeserialiseFailure "expected word16"

(Asked by: username_0 on 2024-09-05)

I have been using `cardano-cli query leadership-schedule` every epoch for years, but now it has failed with this:

> Command failed: query leadership-schedule Error: Failed to successfully decode the current epoch state: DecoderErrorDeserialiseFailure "EpochState (ConwayEra StandardCrypto)" (DeserialiseFailure 2123242835 "expected word16")

Any idea what caused this?

**Tags:** cardano-cli, stake-pool, leaderlog

---

## 1 answers

### Answer by username_1 on 2024-09-05. Score: 2 | Accepted answer

This appears to be a mismatched node and CLI version.

Can you try with these versions?

cardano-node --version
cardano-node 9.1.1 - linux-x86\_64 - ghc-8.10
git rev efd560070aaf042d1eb4680ae37fc607c7742319

cardano-cli --version
cardano-cli 9.2.1.0 - linux-x86\_64 - ghc-8.10
git rev efd560070aaf042d1eb4680ae37fc607c7742319

Also, please ensure you're using `cardano-cli conway query leadership-schedule` as the default is babbage era and mainnet is no longer in babbage.

> **Comments:**
> **username_0**: Works now after updating the node version and updating the comand with "conway". Thanks!  Previously I was using: cardano-node 9.1.0 - linux-x86_64 - ghc-8.10 git rev 176f99e51155cb3eaa0711db1c3c969d67438958  cardano-cli 9.2.1.0 - linux-x86_64 - ghc-8.10 git rev 176f99e51155cb3eaa0711db1c3c969d67438958  

---

