Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#2,432 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start with MonitorsApi.list_monitors using the reported 2.31.0 environment and investigate the customer response that produces the month_starts validation error; the monitor configuration is not available in the report. Done means list_monitors can retrieve the monitors without raising ApiValueError for a valid customer response.

Written by the indexing model from the issue text.

Description

kind/bug stale

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

Dominant language
Python
Stars
166
Forks
55
Avg merge
2d 17h
Merged PRs (30d)
73

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/datadog-api-client-python

All issues in DataDog/datadog-api-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.