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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Error downloading csv file using REST API

I am trying to download a paginated report output as CSV using the REST APIs. I can successfully download the report results as PDF however it is not working when I am choosing to download the information as CSV. I suspect I might not be passing in the right values in the PaginatedReportExportConfiguration parameter.

 

I am first calling 'Export to File in Group' using the Group Id and Report ID as shown below:

KaushalV_0-1687413014586.png

 

I then check the status which shows the status of Succeeded.

KaushalV_1-1687413098655.png

Then I try to download the file, but I get this error 418 - Unsupported file type returned by PowerBI

KaushalV_2-1687413235007.png

 

The report is hosted in a Premium workspace. I am calling the APIs from a third party application by Appian. When I make this same calls from the Learn.Microsoft.Com REST API, it works. Any idea what is the problem with my calls?

 

 

0 REPLIES 0

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.