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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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