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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
BenMackin
Helper I
Helper I

Issue with the REST API and ExcelWorkbooks

I am trying to use the REST API to access an Excel Workbook I have uploaded to the server.

 

When I just query the item using:

 

https://MYSERVER.INT.COM/reports/api/v2.0/ExcelWorkbooks(path='/BusinessReporting/Test/TestFile.xlsx')

 

 

I get back the following JSON:

 

 {
  "@odata.context":"https://MYSERVER.INT.COM/reports/api/v2.0/$metadata#ExcelWorkbooks/$entity","Id":"ecda6463-3fc4-4329-a56e-b5befcb0dce1","Name":"TestFile.xlsx","Description":null,"Path":"/BusinessReporting/Test/TestFile.xlsx","Type":"ExcelWorkbook","Hidden":false,"Size":9913,"ModifiedBy":"XXXXXX\\MackinBW","ModifiedDate":"2018-10-19T14:11:42.333-07:00","CreatedBy":"XXXXXX\\MackinBW","CreatedDate":"2018-10-19T14:11:06.3-07:00","ParentFolderId":"66dd88d9-5c1c-4203-9492-4de8b6934920","IsFavorite":false,"Roles":[
   
  ],"ContentType":null,"Content":""
}

 

 

As you can see, it says the ContentType is null, and the Content is also null. If I try and access the content with:

 

https://MYSERVER.INT.COM/reports/api/v2.0/ExcelWorkbooks(path='/BusinessReporting/Test/TestFile.xlsx')/Content/$value

 

 

I get a 404 error.

 

My understanding of the APIs is that I should get back the contents of the Excel workbook. Is that not correct?

0 REPLIES 0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.