Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello!
I'm attempting to import a .pbix using the REST API referencing the file in OneDrive for Business as described in documentation here. I am receiving an undefined 400 Bad Request error (no message) and am looking for guidance. Can't find any examples for this method and I've tried using both Postman and Flow with the same results.
From Postman the request looks like.
POST /v1.0/myorg/imports?datasetDisplayName=TestReport HTTP/1.1
Host: api.powerbi.com
Content-Type: application/json
Authorization: Bearer <sanitized>
cache-control: no-cache
Postman-Token: 84b78aaf-8baf-45db-89f7-d9306b81d1dc
{
"connectionType" : "import",
"filePath" : "/pbix/BAL-Report-15-VaR-Waterfall.pbix",
"fileURL" : "https://fireappsoutlook-my.sharepoint.com/:u:/g/personal/<sanitized>/EVZgW1sjVaNAlPUGop0q<sanitized>..."
}------WebKitFormBoundary7MA4YWxkTrZu0gW--
With the following response:
{
"Message": ""
}
Is this a bug or is there a problem with the format? Can someone provide a working example?
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.