Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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.