Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Problem with binary download via API in Jan 2020 PBIRS?

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 ?

1 REPLY 1
Anonymous
Not applicable

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.