-
Notifications
You must be signed in to change notification settings - Fork 49
Description
Describe the bug
When trying to retrieve some dashboards with the get_dashboard() method, I get Invalid value for x, must be a value greater than or equal to 0
for some dashboards. Most dashboards work ok though.
Downloading the JSON from the dashboard Webpage does not show any x that are not 0 or greater and all of them are int. The dashboard has been created with the GUI, not via API, so I'd expect it to be fitting with the model.
Seems to be similar to #920, but here it is not the type that is wrong, but the value
To Reproduce
Steps to reproduce the behavior:
Since this is not a public datadog, I do not know how to give advice on how to reproduce, but for me it is:
dashboard_data = self.api_instance.get_dashboard( dashboard_id=id, )
- Find the exception
- Download the named dashboard from GUI
- Check all 'x' values
- All of them set, int and >= 0
Expected behavior
Being able to properly download the dashboard
Environment and Versions (please complete the following information):
Python 3.10.x
datadog-api-client==2.3.0
Using the EU instance of Datadog