cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PT-Will
Regular Visitor

Export to file - get list of finished exports - status 429

Hello Power BI Community,  

 

I have developed a export to pdf functionality as per the documentation and code examples here: https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to#code-examples

 

Ive ran it a few times whilst testing, but didnt download the file. Now we're getting a error status 429 which Im assuming is due to us not actually downloading the files.

 

Is there a way of getting a list of outstanding export ids from Power BI service so I can clear the list? Each of the APIs mention you have to pass in the export Id, but as we didnt save them I'm trying to find a way of returning them.

 

Ta

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

Hi @PT-Will,

I think you need to add a global variable of list type to store these IDs. You can add if statement to your function to trace the response status and add into the list of current request has failed.
Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @PT-Will,

I think you need to add a global variable of list type to store these IDs. You can add if statement to your function to trace the response status and add into the list of current request has failed.
Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.