Dashboard Download Method not allowed

HTTP/2 405 
server: nginx/1.17.9
date: Fri, 15 Oct 2021 13:33:46 GMT
x-frame-options: DENY
cache-control: no-cache, no-store, must-revalidate
pragma: no-cache
expires: Fri, 15 Oct 2021 13:33:46 GMT
allow: GET
via: 1.1 google
alt-svc: clear

The head request was denied.

  • What did you expect to happen?
    That the head request would work.

There is no technical reason to block those HEAD requests. Why is it implemented like that.

My workaround is not to just download the file, but this also genereates a lot of useless traffic for Grafana and also the person, who just wants to check if that dashboard exists.

Hi @ohdearaugustin

not a direct answer to your question but this script for download dashboards in bulk might be of interest to you:

Hi @mattabrams,

yeah I found out how to do it, but I think the default setting of not allowing HEAD request is just completely strange and not standard. I just try to download them directly and check for errors afterwards.


1 Like

glad you got unblocked on this. Can’t speak to why we handle headers like that. This might make a good bug report in the repo…

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