cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nicolasdol Occasional Visitor
Occasional Visitor

Rest API 500 Error on Export

Hello.

I'm having issues exporting reports from my tenant.
I crawl through all groups to download all reports, but the API sometimes fail downloading reports, with status code 500 and the error : {"Message":"An error has occurred."}

I'm using the endpoint https://api.powerbi.com/v1.0/myorg/groups/{group_id}/reports/{report_id}/Export

Note that the code works for about half of the reports.

I tried waiting one minute before trying again to download the report when encountering this issue, but it didn't work.