# How to fix \`Error updating options: Datasource named ${DS\_PROMETHEUS} was not found\` in provisioned dashboard?

**URL:** <https://community.grafana.com/t/how-to-fix-error-updating-options-datasource-named-ds-prometheus-was-not-found-in-provisioned-dashboard/46538>\
**Category:** Dashboards\
**Tags:** provisioning\
**Created:** [April 23, 2021, 4:24pm UTC](https://community.grafana.com/t/how-to-fix-error-updating-options-datasource-named-ds-prometheus-was-not-found-in-provisioned-dashboard/46538 "2021-04-23T16:24:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ftriboix](https://avatars.discourse-cdn.com/v4/letter/f/f08c70/32.png) [@ftriboix](https://community.grafana.com/u/ftriboix)\
**Post date:** [April 23, 2021, 4:24pm UTC](https://community.grafana.com/t/how-to-fix-error-updating-options-datasource-named-ds-prometheus-was-not-found-in-provisioned-dashboard/46538/1 "2021-04-23T16:24:41Z")

</div>

Hello,

I am installing Grafana using the official Helm chart. I want to be able to provision dashboards and I am using the “sidecar for dashboards” method. I created a configmap containing a copy/paste of the JSON representation of the MySQL overview dashboard.

I can the see the dashboard in Grafana, but it’s not working and the Grafana UI throws a couple of errors:

```auto
Failed to upgrade legacy queries Datasource named ${DS_PROMETHEUS} was not found

```

and

```auto
Error updating options: Datasource named ${DS_PROMETHEUS} was not found

```

I am quite new to Grafana and I haven’t been able to find the documentation describing such a situation.

I would be grateful if somebody could point me to the relevant documentation, and/or how to work around this problem.

Thanks a lot for any help!

---

<div class="post-metadata">

**Author:** ![ekbfh1](https://avatars.discourse-cdn.com/v4/letter/e/9e8a1a/32.png) [@ekbfh1](https://community.grafana.com/u/ekbfh1)\
**Post date:** [September 10, 2021, 1:04pm UTC](https://community.grafana.com/t/how-to-fix-error-updating-options-datasource-named-ds-prometheus-was-not-found-in-provisioned-dashboard/46538/2 "2021-09-10T13:04:21Z")

</div>

Look here: [Support dashboard variables in dashboard provisioning · Issue #10786 · grafana/grafana · GitHub](https://github.com/grafana/grafana/issues/10786)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [April 23, 2022, 4:25pm UTC](https://community.grafana.com/t/how-to-fix-error-updating-options-datasource-named-ds-prometheus-was-not-found-in-provisioned-dashboard/46538/3 "2022-04-23T16:25:05Z")

</div>

This topic was automatically closed after 365 days. New replies are no longer allowed.
