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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Kudoed Authors