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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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