Hey I’m trying to create a dashboard in the grafana api with 2 panels. I will get the dashboard via api/dashboards/uid and then only copy the json within the “panels”: element. Leaving me with something that looks like this:
{“dashboard”: {“panels”: [], “id”: null, “uid”: null, “title”: “Production Overview”, “tags”: [ “templated” ], “timezone”: “browser”, “schemaVersion”: 16, “version”: 0, “refresh”: “25s”}, “folderId”: , “folderUid”: , “message”: “Automated Changes”, “overwrite”: true}
The result is always a 400 error. I’m not sure what’s wrong I am literally verbatim replicating what grafana returns in the api. Is there any way to troubleshoot this more in depth if no immeidate solution is discovered?