# Dynatrace API Rate Limit Exceeded Error

**URL:** <https://community.dynatrace.com/t/dynatrace-api-rate-limit-exceeded-error/46204>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [June 19, 2024, 7:58am UTC](https://community.dynatrace.com/t/dynatrace-api-rate-limit-exceeded-error/46204 "2024-06-19T07:58:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![walkertwirl](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/walkertwirl/32/6195_2.png) [@walkertwirl](https://community.dynatrace.com/u/walkertwirl)\
**Post date:** [June 19, 2024, 7:58am UTC](https://community.dynatrace.com/t/dynatrace-api-rate-limit-exceeded-error/46204/1 "2024-06-19T07:58:43Z")

</div>

Hi everyone,

I’m encountering a persistent issue with Dynatrace and would appreciate any insights or help. I’m receiving the following error when making API requests:

**Error Code: DT-4299**  **Severity: Warning**  **Description: The number of API requests has exceeded the rate limit. Further requests will be temporarily blocked until the rate limit window resets. This is typically due to high-frequency API calls.**

I’ve been using Dynatrace for application performance monitoring and automation. Recently, I’ve implemented a series of scripts that make frequent API calls to gather various metrics and perform automated tasks. However, since implementing these changes, I’ve started running into the rate limit issue.

Here is the exact error message returned by the API:

```markup
{
  "error": {
    "code": "DT-4299",
    "message": "API rate limit exceeded. Please reduce the number of requests."
  }
}

```

While searching about this, I came across to this article [l](https://www.igmguru.com/blog/how-to-learn-mendix/)[earn Mendix](https://www.igmguru.com/blog/how-to-learn-mendix/) [dynatrace api basics access limit](https://docs.dynatrace.com/docs/dynatrace-api/basics/access-limit), and as per this,&nbsp;there are specific rate limits for different API calls, and you can not exceed these limits&nbsp;frequently. But, as far as I know, I didn’t exceed these limits. In addition to this,&nbsp;I attempted to reduce the frequency of my API calls by adjusting the intervals in my scripts. Despite this, I continue to encounter the rate limit error.

Kindly help me in getting out of this.

Thanks

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [June 19, 2024, 9:53am UTC](https://community.dynatrace.com/t/dynatrace-api-rate-limit-exceeded-error/46204/2 "2024-06-19T09:53:05Z")

</div>

Hi,

Only documentation about API limit I am aware is [Request throttling](https://docs.dynatrace.com/docs/shortlink/api-access-limit#throttling).

Best regards

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [June 20, 2024, 8:40am UTC](https://community.dynatrace.com/t/dynatrace-api-rate-limit-exceeded-error/46204/3 "2024-06-20T08:40:47Z")

</div>

What API endpoint is return that error, I have never seen that format or even that error code DT-4299 ?

API rate limit exceeded is 429.

I would suggest reviewing why you need to query that endpoint so often, maybe you can query it in bigger chunks and less often.

If you want to handle rate limit you will need to implement it yourself by waiting longer until you query again.

---

<div class="post-metadata">

**Author:** ![walkertwirl](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/walkertwirl/32/6195_2.png) [@walkertwirl](https://community.dynatrace.com/u/walkertwirl)\
**Post date:** [July 1, 2024, 6:24am UTC](https://community.dynatrace.com/t/dynatrace-api-rate-limit-exceeded-error/46204/4 "2024-07-01T06:24:59Z")

</div>

Hi,

Thanks for your suggestion I have been through this doc already but didn’t read it completely.

---

<div class="post-metadata">

**Author:** ![walkertwirl](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/walkertwirl/32/6195_2.png) [@walkertwirl](https://community.dynatrace.com/u/walkertwirl)\
**Post date:** [July 1, 2024, 6:28am UTC](https://community.dynatrace.com/t/dynatrace-api-rate-limit-exceeded-error/46204/5 "2024-07-01T06:28:09Z")

</div>

Exactly I have never seen that format or even that error code DT-4299 before. It may be related to the LIMITATION.
