Forum Discussion

germansantana's avatar
germansantana
New Member
4 years ago

powerbi rest api export to file endpoint is broken

Hi,

 

Our app is using the export  to file endpoint.

https://api.powerbi.com/v1.0/myorg/reports/{reportId}/ExportTo

Few days ago, it started to fail and We always get this error message in the response Export report was called with invalid configuration type.

The only way to get an ok response was to remove from our call the paginatedReportConfiguration property . Even if We only pass paginatedReportConfiguration with empty properties it fails too.

 

Do you know if there are changes with this endpoint?

 

Thanks

2 Replies

  • AmosHersch's avatar
    AmosHersch
    Microsoft Employee

    Hi germansantana,

     

    Why do you need to pass PaginatedReportConfiguration ? Are you exporting a Paginated report or a PowerBI (PBIX) report?

    You should only pass 1 configuration, which will match the type of your report.

     

    Thanks,

    Amos