Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Previously working API calls seem not to be working against a Jan 2020 (1.6.7327.3007) server - this is fine:
Invoke-RESTMethod -Uri "http://server/Reports/api/v2.0/CatalogItems(Path='/lib/report')" -Method GET -UseDefaultCredentials
but the call to get the binary content fails:
Invoke-RESTMethod -Uri "http://server/Reports/api/v2.0/CatalogItems(Path='/lib/report')/Content/`$value" -Method GET -ContentType "application/octet-stream" -UseDefaultCredentials
error is:
Invoke-RESTMethod : {
"error":{
"code":"","message":"No HTTP resource was found that matches the request URI
'http://server/Reports/api/v2.0/CatalogItems(Path='/lib/report')/Content/$value'.","innererror":{
"message":"No action was found on the controller 'CatalogItemsController' that matches the
request.","type":"","stacktrace":""
}
}
}
Same calls seem to work fine against September 2019 version server. Any ideas ?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.