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!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors