cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ajn4704
Frequent Visitor

Understanding why export paginated report to file is failing

I have a set of paginated reports that I am exporting in our API layer via the following documentation

https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report

 

I have all of them working via this method, but on the intial setup it is hard to understand sometimes when polling for the ExportStatus, if it fails, why in fact it failed. I am using the following method to poll for the status

var httpMessage = await Client.Reports.GetExportToFileStatusInGroupWithHttpMessagesAsync(groupId, reportId, exportId);

 

I see the body of this i the exportStatus but all that tells me is if it succedded or failed. Is there a way to tell why is failed anywhere in the API or PowerBI istelf?

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @ajn4704 ,

 

Is the returned ExportStatus always failed?

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

No, I am wondering how to to tell why it failed when it does fail.

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors