<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Troubleshooting on Grafana Labs</title><link>https://grafana.com/docs/grafana/v13.0/developer-resources/mcp/troubleshooting/</link><description>Recent content in Troubleshooting on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v13.0/developer-resources/mcp/troubleshooting/index.xml" rel="self" type="application/rss+xml"/><item><title>Grafana version compatibility</title><link>https://grafana.com/docs/grafana/v13.0/developer-resources/mcp/troubleshooting/grafana-version-compatibility/</link><pubDate>Thu, 23 Apr 2026 10:03:11 +0200</pubDate><guid>https://grafana.com/docs/grafana/v13.0/developer-resources/mcp/troubleshooting/grafana-version-compatibility/</guid><content><![CDATA[&lt;h1 id=&#34;grafana-version-compatibility&#34;&gt;Grafana version compatibility&lt;/h1&gt;
&lt;p&gt;Some datasource API paths exist only in newer Grafana releases. This article explains a common error on Grafana before 9.0.&lt;/p&gt;
&lt;h2 id=&#34;what-youll-achieve&#34;&gt;What you&amp;rsquo;ll achieve&lt;/h2&gt;
&lt;p&gt;You can confirm whether an upgrade fixes datasource-related MCP errors.&lt;/p&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Access to upgrade or validate the Grafana version for your stack.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;recognize-the-error&#34;&gt;Recognize the error&lt;/h2&gt;
&lt;p&gt;If you see an error like this when using datasource-related tools:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;get datasource by uid : [GET /datasources/uid/{uid}][400] getDataSourceByUidBadRequest {&amp;#34;message&amp;#34;:&amp;#34;id is invalid&amp;#34;}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;you are likely on &lt;strong&gt;Grafana before 9.0&lt;/strong&gt;. The &lt;code&gt;/datasources/uid/{uid}&lt;/code&gt; API was added in Grafana 9.0; datasource operations that rely on it fail on older versions.&lt;/p&gt;
&lt;h2 id=&#34;resolve-the-issue&#34;&gt;Resolve the issue&lt;/h2&gt;
&lt;p&gt;Upgrade Grafana to &lt;strong&gt;9.0 or later&lt;/strong&gt;. The MCP server &lt;a href=&#34;../../introduction/&#34;&gt;requires Grafana 9.0 or later&lt;/a&gt; for full functionality.&lt;/p&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../introduction/&#34;&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../set-up/client-configuration-examples/&#34;&gt;Client configuration examples&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="grafana-version-compatibility">Grafana version compatibility&lt;/h1>
&lt;p>Some datasource API paths exist only in newer Grafana releases. This article explains a common error on Grafana before 9.0.&lt;/p>
&lt;h2 id="what-youll-achieve">What you&amp;rsquo;ll achieve&lt;/h2>
&lt;p>You can confirm whether an upgrade fixes datasource-related MCP errors.&lt;/p></description></item></channel></rss>