Forum Discussion
Anonymous
7 years agoNot applicable
Imports.Postimportingroup() in .NET SDK returns 400 Bad Request
Using the .NET SDK, I want to programmatically import a dataset, which is defined in a .PBIX file stored in OneDrive for Business, into an app workspace. The method PowerBIClient.Imports.PostImportIn...
Dan2
7 years agoHelper I
Would like an answer to this as well
marcogammella
7 years agoRegular Visitor
I have the same problem with this api.
I try to call the api from Sdk V2 "PostImportWithFileAsyncInGroup" and also create a post to this url "https://api.powerbi.com/v1.0/myorg/groups/{groupID}/imports?datasetDisplayName={name}": the response is always BadRequest.
How can I fix?
Thanks
- atsats7 years agoAdvocate I
I'm also getting the Bad Request response - pretty amazing that more than a year after the question was first asked the question is still unanswered and the documentation is still woefully inadequate.
What a waste of time for developers to reverse-engineer APIs that should've been documented in teh first place.