cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
richrussell
New Member

Anyone else seeing periods of consistent 429 (too many requests) errors?

Twice in the last week, including this morning between roughly 7:15 am EST and 7:45 am EST in North America, I started getting 429 errors on every single REST API call (in PowerShell).  The problem came and eventually went, with nothing on my end that would explain it.

 

Wondering if anyone else experience this sort of "outage"?

 

Details: 

I was running a script that uses a REST API to get the parameters from a dataset (via 

'https://api.powerbi.com/v1.0/myorg/groups/'+$workspaceId+'/datasets/'+$datasetId+'/parameters')
and because 429 errors occassionally crop up I wrap this call in a try-catch and retry several times before giving up.  Basically:
 
$retries = 10
$RESTResult = $Null
do {
   try {
       $RESTResult = Invoke-RestMethod -Method GET -Uri $Url -Headers $headers
    } catch { write-host "Exception caught: $Error" }
       
    if( -not $RESTResult ) {            
         start-sleep 1
         $retries--
    }
} while ($retries -and $Null -eq $RESTResult)
 
That takes care of the sporadic 429 errors, which we see but are not an issue.
 
But this morning (and once before, a few days ago) that REST API failed every single time (for both myself and a coworker, and we were not testing at the same time) for about 30 minutes.  Then suddenly, that same code started working again.  It smells more like a service interruption on the Power BI end than it does a local problem.
 
Anyone else seeing anything like this, lately?
3 REPLIES 3
richrussell
New Member

I did check the Issues forum, and don't see anything there.  (I wasn't sure if I should post there, or here, by the way.) 

 

And since the problem is now happening again, I will open a support ticket.  Thanks for the pointer.

Greg_Deckler
Super User
Super User

@richrussell You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler I appreciate the suggestions.  I did try opening a support ticket (I do have a Pro account) but wow--what a mess that was.  

 

I was routed to an automated chat agent, which went as you'd expect: I had to repeat all the info I'd already provided, and it eventually said "Okay, let's open an incident" and sent me to a form where the drop-down control for Severity showed an empty list (i.e. I couldn't choose a value, or provide one) and the form wouldn't allow me to proceed without the Severity.  Complete dead end, after almost an hour of trying to inform Microsoft of what really does appear to be an issue on their end.  

 

I've exhausted all avenues of how it could be something we're causing on our side, so I'll wait and see if the issue resolves itself, again, as it has in the past.

 

Thank you for your help!  But for Microsoft: this is a very frustrating experience.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Dev Camp Session 30

Ted's Dev Camp - January 26, 2023

This session will provide guidance and teach campers the skills required to build Power BI reports that support multiple languages.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.