Forum Discussion
API throttling limits? http response 429
HI Anonymous ,
AFAIK, 429 error is a common error that means 'Too Many Requests' sent so that the remote server has blocked these requests.
I'd like to suggest you stop sending requests, then you can reduce send frequency and check your script if it has been invoked multiple times or works on multiple threads.
In addition,any other Power bi REST APIs running at same time? If this is a case, these limits of requests may mean total requests of same user id.
Regards,
Xiaoxin Sheng
- Anonymous6 years agoNot applicable
Thanks for your answer - but yes, I know what I means and thats why i'm asking here. "Too many requests" is kind of useless as I need to know which limitations exists so I can adjust everything. According to the public information the script should run fine but it doesnt.
This is from last night:
22:59: 8 calls
23:00: 9 calls
23:01: 18 calls
23:02: 5 calls
23:03: 7 calls
23:04: 6 calls
23:05: 10 calls
(same pattern until)
23:35: 3 calls
23:36: 6 calls
23:37: 4 calls and then fail
Any other requests are not running, except a very few for triggering refreshes. But nothing that would end up in the documented limitations. Invoked multiple times etc. is also not possible as its a simple batch script. Which also waits untail the file is completely downloaded and then take the next one.
- Anonymous6 years agoNot applicable
Hi, I'm getting the same issue.
Do you know how long you have to wait before your request calls are accepted again?
- Anonymous6 years agoNot applicable
Hi Anonymous ,
How did the calls mean? single report or looping export all related reports? If you mean all reports, I think your request amount should multiply with exported reports count. (total request amount = report count * call times + renew access token +other triggered request)
BTW, these documents that you mentioned are most of the known information that dev team shared, if you still need more detailed information about REST API, I'd like to suggest you contact power bi team to get further support.
Regards,
Xiaoxin Sheng
- Anonymous6 years agoNot applicable
It's just the https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exportreport
Access token is not renewed everytime, just every hour.
Ok, altough I wanted to avoid the support i'm giving it a try 😕