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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
elevenyi11
New Member

Power bi rest api Export file error "Export report was called with an unsupported file format"

Hello!

While trying to test REST Api for export to file, i am facing the below issue.

Now I can export pdf,pptx, jpeg files, but I can not export  XLSX,CSV files.

https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exporttofile

export step sample:

1.PostExportRequest

2.PollExportRequest

3.ExportPowerBIReport

4.GetExportedFile


"error": {
       "code": "InvalidRequest",
       "message": "Export report was called with an unsupported file format"
}

1 ACCEPTED SOLUTION
AmosHersch
Microsoft Employee
Microsoft Employee

Hi @elevenyi11 ,

 

Is your report a paginated report? The files format for whom you get the error are only supported when exporting a paginated report.

See here the available formats and their limitations: Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn

View solution in original post

1 REPLY 1
AmosHersch
Microsoft Employee
Microsoft Employee

Hi @elevenyi11 ,

 

Is your report a paginated report? The files format for whom you get the error are only supported when exporting a paginated report.

See here the available formats and their limitations: Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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