Forum Discussion
pooneh_ce
8 years agoFrequent Visitor
problem with power bi rest API- Get PowerBIReports by id/path
I testedget method for PowerBIReports, but when I try to call it by id or path, I get the error:
- Status Code: 404 Not Found
- Cache-Control: no-cache
- Content-Length: 0
- Date: Tue, 21 Nov 2017 19:33:56 GMT
- Server: Microsoft-HTTPAPI/2.0
- Set-Cookie: XSRF-NONCE=T7Hh8sqvZb0oKyEHOEbiQNtcmYJeTSD%2FS8yaoxKzqew%3D; path=/Reports; HttpOnly XSRF-TOKEN=deprecated; path=/Report s
- X-Content-Type-Options
my request is like this:
http://server:port/Reports/api/v2.0/PowerBIReports({f02913f6-801d-4df1-abc6-554319e8bc7f})
http://server:port/Reports/api/v2.0/PowerBIReports(/pop)
what is the problem?
1 Reply
- mgmeyerPower BI Team
For the ID url you need to remove the {} and for path you have to prefix the path like this (Path='/pop').