Skip to content

MonitorsApi.list_monitors - datadog_api_client.exceptions.ApiValueError: Invalid value for month_starts, must be a value less than or equal to 1 #2432

Open
@shahargl

Description

@shahargl

Describe the bug
We (Keep - https://github.com/keephq/keep) try to get all monitors from datadog.
However, a customer of ours fails to get them with this exception.

We don't have control on their monitors.

To Reproduce
I'm not sure about what monitors they have configured on their side

 with ApiClient(self.configuration) as api_client:
    api = MonitorsApi(api_client)
    api.list_monitors()

Expected behavior
I'll get list of monitors

Environment and Versions (please complete the following information):
2.31.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions