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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Richtpt
Frequent Visitor

Error 429 Too Many Requests using Invoke-PowerBIRestMethod refreshes

I'm working on a DevOps Release Pipeline for Power BI.  It was working fine with the last piece being to refresh the dataset.  But now when I try it again I get error 429 TooManyRequests.  Nothing changed in my Pipeline. 

 

In my Powershell I use Connect-PowerBIServiceAccount -ServicePrincipal. 

Then Invoke-PowerBIRestMethod /Default.Takeover.

Then Invoke-PowerBIRestMethod /Default.UpdateParameters to change a parameter in the pbix report.

Then Invoke-PowerBIRestMethod /Default.BindToGateway.

Last Invoke-PowerBIRestMethod /refreshes.

 

If I run it again all the other Invoke-PowerBIRestMethod's work fine, I only get the 429 error on refreshes.  If I comment all the other Invoke's out and only have the refreshes method I still get the 429 error.  If I go to the workspace web page and refresh there it works fine.  I even copied the urls from the logs and pasted them in VSC to run them.  All of the other methods run fine but the refreshes url gives me the 429 error.

 

Can anyone give me more insight to what is going on with the refreshes method?  What am I doing that's too many requests?  Can I only issue the refreshes method a certain number of times per hour/day/dataset?  Is there a way to fix this, like a setting to change?

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Richtpt ,

The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time. Please review the following threads which have the same problem with you, hope they can help you.

Streaming dataset - Error http 429

yingyinr_0-1637216288265.png

(429): Too Many Requests Error

yingyinr_1-1637216705805.png

Power BI - dataset refresh completion data PowerShell

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Richtpt ,

The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time. Please review the following threads which have the same problem with you, hope they can help you.

Streaming dataset - Error http 429

yingyinr_0-1637216288265.png

(429): Too Many Requests Error

yingyinr_1-1637216705805.png

Power BI - dataset refresh completion data PowerShell

Best Regards

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.