<p>You're not using the <a href="https://github.com/input-output-hk/cardano-node/releases/latest" rel="nofollow noreferrer">release version</a>, which - for 1.27.0 (current mainnet) - is <code>8fe46140a52810b6ca456be01d652ca08fe730bf</code>.</p>
<p>Using commits later than current stable release should <em>only</em> be done if you're sure if a specific commit is compatible and works - and should be done on testnet instead</p>

CC BY-SA 4.0
2021-07-03T11:17:00.567Z
2021-07-03T11:17:00.567Z
RdLrT
<pre><code>cardano-cli --version
cardano-cli 1.27.0 - linux-x86_64 - ghc-8.10
git rev d870347b48c8ba0a81566876153eff23fce3ec64

cardano-cli query tip --mainnet
cardano-cli: QueryEncoderUnsupportedQuery Query GetSystemStart TopLevelQueryDisabled
</code></pre>
<p>I'm trying to get the current tip(slot) for my my transaction ttl.</p>
<p>eidt:</p>
<pre><code>cardano-cli query tip --shelley-mode --mainnet
Command failed: query tip  Error: Unsupported mode: ShelleyMode
</code></pre>
<p>after i added --shelley-mode flag, it still doesn't work.</p>

CC BY-SA 4.0
2021-06-24T11:40:20.860Z
Can you try running the query with `--shelley-mode` flag?
sorki
<cardano-cli><cardano-node>
cardano-cli: QueryEncoderUnsupportedQuery Query GetSystemStart TopLevelQueryDisabled
# cardano-cli: QueryEncoderUnsupportedQuery Query GetSystemStart TopLevelQueryDisabled

(Asked by: username_0 on 2021-06-24)

cardano-cli --version
cardano-cli 1.27.0 - linux-x86_64 - ghc-8.10
git rev d870347b48c8ba0a81566876153eff23fce3ec64

cardano-cli query tip --mainnet
cardano-cli: QueryEncoderUnsupportedQuery Query GetSystemStart TopLevelQueryDisabled

I'm trying to get the current tip(slot) for my my transaction ttl.
eidt:
cardano-cli query tip --shelley-mode --mainnet
Command failed: query tip  Error: Unsupported mode: ShelleyMode

after i added --shelley-mode flag, it still doesn't work.

**Tags:** cardano-cli, cardano-node
> **Comments:**
> **username_1**: Can you try running the query with `--shelley-mode` flag?  

---

## 1 answers

### Answer by username_2 on 2021-07-03. Score: 2

You're not using the [release version](https://github.com/input-output-hk/cardano-node/releases/latest), which - for 1.27.0 (current mainnet) - is `8fe46140a52810b6ca456be01d652ca08fe730bf`.

Using commits later than current stable release should *only* be done if you're sure if a specific commit is compatible and works - and should be done on testnet instead


---

