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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
hxid3r
Regular Visitor

Unable to Upload RDL Files using Rest API

Hi,
I am trying to use the Imports - Post Import In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn API to post RDL Files to the Workspace. When I try to use this for a normal pbix it works just fine, but when I do it with RDL Files, it gives me ImportUnsupportedOption Error. Here are the screenshots for the same on Postman.


Headers:

hxid3r_0-1677747382786.png

hxid3r_3-1677747509719.png

 

 


Body:

hxid3r_1-1677747402089.png

 


Params:

hxid3r_4-1677747532087.png

 

3 REPLIES 3
craigleach
Frequent Visitor

Hello,

 

I'm wondering if you were able to get this working? I've been at this all day with no luck. I have the same use case.

 

Thanks,

Craig

Satheesh-symplr
New Member

Hi

 

For rdl report, include "nameConflict:Abort" in query parameter.  value for nameConflict is either 'Abort' or 'Overwrite '

Satheeshsymplr_0-1691056658277.png

 

bradsy
Microsoft Employee
Microsoft Employee

According to the docs, there are limitations on some of the options. Do you get this message? "Import Rdl file through API with Ignore or CreateOrOverwrite as nameConflict option is not supported!"

 

https://learn.microsoft.com/en-us/rest/api/power-bi/imports/post-import-in-group#importconflicthandl... 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.