Hi,
it seems that I am unable to create a dashboard because the get_folder_id_by_dashboard_path() function is not finding the folder.
It appears that the get_all_folder_ids_and_names() function returns an empty set in our grafana cloud instance.
Interestingly, if I change the get_folder_id_by_dashboard_path() function to use get_folders() instead, it works just fine.
Am I doing something incorrectly? What's the reason for using the search endpoint when finding the id of a dashboard?
I'd be happy to send a PR, it's literally one line of change - but I'd like to understand this better of course.
Hi,
it seems that I am unable to create a dashboard because the
get_folder_id_by_dashboard_path()function is not finding the folder.It appears that the
get_all_folder_ids_and_names()function returns an empty set in our grafana cloud instance.Interestingly, if I change the
get_folder_id_by_dashboard_path()function to useget_folders()instead, it works just fine.Am I doing something incorrectly? What's the reason for using the search endpoint when finding the id of a dashboard?
I'd be happy to send a PR, it's literally one line of change - but I'd like to understand this better of course.