# Data links result in empty values for certain URL variables

**URL:** <https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848>\
**Category:** Data Links\
**Created:** [January 30, 2025, 4:32pm UTC](https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848 "2025-01-30T16:32:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpetronic](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/mpetronic/32/49608_2.png) [@mpetronic](https://community.grafana.com/u/mpetronic)\
**Post date:** [January 30, 2025, 4:32pm UTC](https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848/1 "2025-01-30T16:32:21Z")

</div>

I am baffled by this behavior. I have a data link A in dashboard A where there are some template variables X, X, Y. When I hover over the data link url, is see it looks perfect. For example:

```auto
https://myaccount.grafana.net/d/aebiq07x48tmoa/dashboard-b?from=now-1h&to=now&timezone=utc&var-A=33&var-B=1&var-C=9)

```

But, when I click the link and dashboard-b opens, the url bar in the browser randomly presents some of the url variables with empty values. Like this:

```auto
https://myaccount.grafana.net/d/aebiq07x48tmoa/dashboard-b?from=now-1h&to=now&timezone=utc&var-A=&var-B&var-C=9)

```

Here, the values for A and B are now empty but C and the timestuff is ok.

Any ideas on why this happens? It is not always the same A, B, or C values that show up empty. Sometimes they are all ok and dashboard-b works.

Thanks!

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [January 30, 2025, 4:47pm UTC](https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848/2 "2025-01-30T16:47:20Z")

</div>

What version of grafana

---

<div class="post-metadata">

**Author:** ![mpetronic](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/mpetronic/32/49608_2.png) [@mpetronic](https://community.grafana.com/u/mpetronic)\
**Post date:** [January 30, 2025, 5:10pm UTC](https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848/3 "2025-01-30T17:10:53Z")

</div>

Sorry, rushed that post and failed to provide that.  
11.5.0-81732

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [January 30, 2025, 5:14pm UTC](https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848/4 "2025-01-30T17:14:18Z")

</div>

the latest is

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/f/f/ff1bfe51a30193b4e6ca91d8739d11cfb3327017.png)

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/5/7/57669b91729230a798b0554cbbb6b7fc6c26a989.png)

where did you find this version of yours 🙂

---

<div class="post-metadata">

**Author:** ![mpetronic](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/mpetronic/32/49608_2.png) [@mpetronic](https://community.grafana.com/u/mpetronic)\
**Post date:** [January 30, 2025, 5:21pm UTC](https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848/5 "2025-01-30T17:21:48Z")

</div>

We are using Grafana cloud. It does not present any “About…” options that I can find like the local hosted server version does.

curl -s “$GRAFANA\_URL/api/health” | jq -r ‘.version’

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [January 30, 2025, 5:33pm UTC](https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848/6 "2025-01-30T17:33:40Z")

</div>

just tested this in [play.grafana.com](http://play.grafana.com) and I am not seeing this issue?

on hover notice link with template variable

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/b/8/b8f1cf752fb749f01dd19f026786ccbe8a3658a6.jpeg)

on click it takes me to  
 ![image](https://us1.discourse-cdn.com/grafana/optimized/3X/6/9/69f07f51a405381a45db4e8f22d9a42902e7a38a_2_690x46.png)

---

<div class="post-metadata">

**Author:** ![david5c32](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@david5c32](https://community.grafana.com/u/david5c32)\
**Post date:** [February 14, 2025, 2:52pm UTC](https://community.grafana.com/t/data-links-result-in-empty-values-for-certain-url-variables/141848/7 "2025-02-14T14:52:04Z")

</div>

I’m having this issue as well. Grafana version: grafana/grafana-enterprise:latest, which Docker resolves to Grafana v11.5.1 (c6c701cf5b).

The issue is not intermittent, but persistent for some data links. Other links, from the same dashboard, work well.
