Linked public dashboards show errors on 1st load

Hi experts,

I have 2 public Grafana dashboards (Share / Share externally).
In the 1st dashboard I added some text (text visualization) and in it a link to the 2nd dashboard.
When I click the link to the 2nd dashboard from the 1st dashboard, the 2nd dashboard appears, but all panels show an error message (“Dashboard panel not found”) and no data. When I refresh the browser tab (F5) everything is fine.

When I now hit the “back”-button in the browser, there is the same with the 1st panel: “Dashboard panel not found” for all panels, no data. Again- refreshing the tab fixes it all and all panels and data is correctly displayed.

But when I open the link from the 1st panel in a new tab (Ctrl + click) the 2nd panel is displayed correctly from the beginning. :thinking:

Things become worse when I embed the 1st panel in another website (via iFrame). Same behavior when I click the link in the 1st (now embedded) dashboard - the 2nd dashboard is shown, but with error messages for all panels. But here I can not refresh the browser tab, that of course only loads the embedding webpage again with the 1st panel.
But also in this scenario, when I open the link from the embedded 1st dashboard in a new tab, the 2nd dashboard is displayed correctly.

Does anybody has an idea what is going on and - most important - how to fix it?

BR Christian

Grafana: v11.5.2
running on Ubuntu 22.04.

please provide json or demo dashboard link , so i can understand what is the problem and the root cause of problem.
or you can try this
image
This will force Grafana to refresh data as soon as the dashboard loads.

Hi @infofcc3 ,
thank you for your reply.
You can find the dashboard here: Grafana

The link is on the top in the text section. It’s in German but I think you can identify the link!
I will try the refresh parameter as you suggested.

i understand your problem
when you click on link next dashboard give error


after refresh dashboard work find.
i cannot edit anything in public dashboard.
for my suggestion Modify your dashboard link like

or
Open dashboards in a new tab

look at your browser console, might give you some hints, or your grafana logs

I tried that, but it didn’t help. The result is still the same.

I did that, but it didn’t tell me too much.

I found that the request is

POST https://dashboard.owiot.de/api/public/dashboards/0a89701541894b3db46b5134928e3f7a/panels/7/query

There seem to be an additional request for each panel (if my interpretation of the information in the browser’s developer tools is correct) . The ?refresh=1 is missing in this requests, maybe that’s why it does not help?

The response is 404 / “Not found”. Seems strange to me, because everything is found and displayed correctly when I hit the refresh button. Maybe I’m not enough of an http-expert to understand the behavior.