cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace API Rate Limit Exceeded Error

walkertwirl
Visitor

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:

 

{
  "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 learn Mendix dynatrace api basics access limit, and as per this, there are specific rate limits for different API calls, and you can not exceed these limits frequently. But, as far as I know, I didn't exceed these limits. In addition to this, 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

4 REPLIES 4

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Only documentation about API limit I am aware is Request throttling.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Hi,

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

mark_bley
Dynatrace Champion
Dynatrace Champion

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.

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

Featured Posts