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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
DeveloperFlexBI
New Member

Power BI Embedded - Not able to upload PBIX using Import API endpoint

Hello Folks,

Need help on Power BI REST API Development - Import PBIX to workspace.


Problem Statement -
Working on PBI Admin REST API's with Node.js where trying to upload the power bi report from local folder to perticular workspace. But, while uploading the file getting Bad Request Error 400

Error Message - Bad Request 400

API used for Import PBIX - Imports - Post Import - REST API (Power BI Power BI REST APIs) | Microsoft Docs 

image_2022_03_19T05_15_52_139Z.png

Attached Code snapshot for reference.

 

Thanks in advance.

1 ACCEPTED SOLUTION
DeveloperFlexBI
New Member

Resolved the issue.

Replace contenttype : null & its working now 😎

image_2022_03_19T15_07_01_148Z.png

 

View solution in original post

2 REPLIES 2
DeveloperFlexBI
New Member

Resolved the issue.

Replace contenttype : null & its working now 😎

image_2022_03_19T15_07_01_148Z.png

 

raviShekhar404_0-1702698025173.png
getting this error

raviShekhar404_1-1702698077648.png

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.