Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ejQap
Regular Visitor

Power BI API 429 too many requests error

Hey, 

 

We use Power BI embedded service and also use push dataset API (https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets) + other apis (https://learn.microsoft.com/en-us/rest/api/power-bi/datasets, https://learn.microsoft.com/en-us/rest/api/power-bi/groups) to refresh the datasets and give info about the datasets created and pushed.

 

Recently, we get some 429 error code ('You have exceeded the amount of requests allowed in the current time frame and further requests will fail.) while doing POST or GET requests. I can't find any official documentation about the throttling limit.

 

Does anyone can provide more insights about the API throttling limit?

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @ejQap ,

 

As explained in the official documentation:

When a user sends a number of requests that exceeds a predetermined limit during a time window, Power BI throttles any further requests from that user for a short period.

When applications experience throttling, Power BI returns an HTTP status code 429 (Too many requests) with a Retry-After HTTP header in the response, indicating how many seconds the calling application has to wait before making a new request.

Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn

You can check the following link about the limitations of the Power BI Rest API, it may be a Power BI application limitation to prevent overuse of resources, you can wait for a defined period of time before retrying the request:

vyangliumsft_0-1718244703989.png

Power BI REST APIs push semantic model limitations - Power BI | Microsoft Learn

Please check out the following threads that are having the same problem as you and hopefully they will be helpful.

Solved: Streaming dataset - Error http 429 - Microsoft Fabric Community

powerbi - Power BI - dataset refresh completion data PowerShell - Stack Overflow

(429): Too Many Requests Error · Issue #39 · migueesc123/PowerBIRESTAPI · GitHub

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Hi  @ejQap ,

 

As explained in the official documentation:

When a user sends a number of requests that exceeds a predetermined limit during a time window, Power BI throttles any further requests from that user for a short period.

When applications experience throttling, Power BI returns an HTTP status code 429 (Too many requests) with a Retry-After HTTP header in the response, indicating how many seconds the calling application has to wait before making a new request.

Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn

You can check the following link about the limitations of the Power BI Rest API, it may be a Power BI application limitation to prevent overuse of resources, you can wait for a defined period of time before retrying the request:

vyangliumsft_0-1718244703989.png

Power BI REST APIs push semantic model limitations - Power BI | Microsoft Learn

Please check out the following threads that are having the same problem as you and hopefully they will be helpful.

Solved: Streaming dataset - Error http 429 - Microsoft Fabric Community

powerbi - Power BI - dataset refresh completion data PowerShell - Stack Overflow

(429): Too Many Requests Error · Issue #39 · migueesc123/PowerBIRESTAPI · GitHub

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.