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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors