cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kevinnmo
New Member

REST API - import .rdl file fails using .NET sdk

Hi

 

I have an A4 embedded instance set up using Service Principal.

 

I can import a paginated report .rdl file in a workspace using the PowerBI web ui.

 

However if I try to import the same .rdl file using the REST API via the .NET sdk using the PostImportWithFileAsyncInGroup it fails with "BadRequest" error with response 

{"error":{"code":"RequestedFileIsEncryptedOrCorrupted","pbi.error":{"code":"RequestedFileIsEncryptedOrCorrupted","parameters":{},"details":[],"exceptionCulprit":1}}}

 

I am able to import a .pbix successfully.

 

Does anyone have any ideas what may cause this?

 

Thanks

 

 

 

0 REPLIES 0

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Kudoed Authors