Folder ID's Not Importing

  • What Grafana version and what operating system are you using?
    Grafana OSS v7.5.7 on CentOS 8 Stream

  • What are you trying to achieve?
    Importing folders via the API

  • How are you trying to achieve it?
    Using the API to import dashboards

  • What happened?
    Dashboards imported successfully however their folder ID’s don’t seem to match what was in the JSON

  • What did you expect to happen?
    Folder IDs match upon import. Them not matching causes issues on panel types that reference the folder ID for a search (eg. alert list and dashboard list).

  • Can you copy/paste the configuration(s) that you are having problems with?
    I don’t believe there are relevant config files in this case but if some are needed, I can upload

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No errors in the UI; the import processes returned HTTP code 200 as expected

  • Did you follow any online instructions? If so, what is the URL?
    Followed docs and standard api practices.