I had a similar issue but it was due to my grafana setup. In order to allow browsers to render Grafana in a
<frame>, <iframe>, <embed> or <object>
go to the configuration file and change “allow_embedding = true” and restart the grafana server. The default is false.