My code was working just the day before. As I was trying to work on the progress yesterday.

The application was try to createSession, and it was this error.

"code": "generalException",
"message": "Property 'openWith' on type 'oneDrive.item' is not a navigation property. Only navigation properties can be expanded.",

I went on to test on graph-explorer. It still shows the same error. Thus, I have confirm that it wasn't the error from the createSession.

Fyi. The others api is working, as I was able to call https://graph.microsoft.com/v1.0/me/drive/root:/Book1.xlsx or https://graph.microsoft.com/v1.0/me/drive/items/{id} without any issue.

However, https://graph.microsoft.com/v1.0/me/drive/root:/Book1.xlsx:/workbook was failing with the same error shown above.

Appreciate any help here, as I was debugging this for whole night already.

1

There are 1 best solutions below

0
On

Just to close the loop on the comments of the original question - this ended up being an issue in Graph that was reverted.