Error Importing Dashboard
forexpiphunter opened this issue · comments
Hi,
I'm getting an error message when I import dashboard in Datadog "Error Importing"
Has anything changed?
There was no functionality change made within this project that would account for differences in backup files, but dependencies were updated in #7. Can you report back how your dashboard backup changed? You should be able to diff before and after commits. And what is your import procedure?
We are currently just testing export tools and importing them manually.
You may be using older Datadog API, this is what we had to do manually to get it to work:
Export (get) the dashboard:
curl -X GET "https://app.datadoghq.com/api/v1/dashboard/<dashboard_id>?api_key=<dd_api_key>&application_key=<dd_app_key>"
Import (create/update) the dashboard:
curl -X POST -H "Content-type: application/json" -d @dash.json "https://app.datadoghq.com/api/v1/dashboard?api_key=<dd_api_key>&application_key=<dd_app_key>"
I had to delete the author_name field to get the import to work