Forum Discussion
Get Reports REST api not working - Showing 400 Bad Request
I have exactly the same problem. Did you make any progress?
Just to clarify to others: App is registered, I have the access token and I can use it for all the other calls. For example, I can successfully perform this request:
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports
In the response I get the list of reports. If I pick one specific report id and I just by add it to the URL path in the previous request, I get the "400 Bad Request" response...
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportKey}
Hi All,
I did not get any solution to the problem.
Thanks
- human2398748 years agoFrequent Visitor
I am having the exact same problem. I get an HTTP 400 Bad Request response from the API even though I am passing in the GroupId and the ReportId correctly. All other APIs are working. For example Get Reports in Group (https://api.powerbi.com/v1.0/myorg/groups/{{groupId}}/reports) work as expected. However when I try and use Get Report in Group (https://api.powerbi.com/v1.0/myorg/groups/{{groupId}}/reports/{{reportId}}) I get back an HTTP 400. I am using Postman to test this and I can confirm that I have double checked the GroupId and ReportId.
I also have all permissions assigned to my specific user. Something is wrong with this AI endpoint,
UPDATE: This has been brought up in the Developer forum and it is indeed a bug. The workaround (and I have verified it works in Postman) is to add the Header "Accept" and set it's value to "none".
- Anonymous8 years agoNot applicable
I am also having the same issue. Application has been registered. Not a permissions issue.
- Anonymous7 years agoNot applicable
Workaround works:
Add the Header "Accept" and set it's value to "none"