Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Importing Dashboard #8

Open
forexpiphunter opened this issue Aug 15, 2019 · 2 comments
Open

Error Importing Dashboard #8

forexpiphunter opened this issue Aug 15, 2019 · 2 comments

Comments

@forexpiphunter
Copy link

Hi,

I'm getting an error message when I import dashboard in Datadog "Error Importing"
Has anything changed?

@tomruggs
Copy link
Contributor

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?

@forexpiphunter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants