Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Reproduce error 429 too many request

(0) ShareShare
ReportReport
Posted on by
I have an ISV app which makes a call to Dynamics web api to get opportunity data. In this case a single service account will be used to get the data from the dynamics web api for all the customer accessing my app. Needless to say there is a possibility of hitting the api limit. Attached are the limits imposed by microsoft. 
In such scenario I want to put in guard rails for the exception 429. My problem is that I am unable to repro the 429 limit exceeded error on local. If I can create this error then I can develop and test the guard rails I have put around it. 
How to do I repro this 429 Too Many Requests error  locally?
  • Suggested answer
    RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    Reproduce error 429 too many request
    Hi,
     
    Regarding your question about Reproduce error 429 too many requests
     
    According to Microsoft's official documentation, the API restrictions are enforced based on three aspects.
    • The number of requests sent by the user.
    • The combined execution time required to process the requests sent by the user.
    • The number of concurrent requests sent by the user.

    The link to the documentation is as follows.
    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/api-limits?tabs=sdk#what-should-i-do-if-my-application-exceeds-the-limit
     
    You can test your application from these three conditions, please adjust the details of the test according to your application
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,791 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans