when I using "GET /me/drive/items/{id}/workbook/worksheets" throws error; I get the following error :

I want to ask a Answer,thank you
when I using "GET /me/drive/items/{id}/workbook/worksheets" throws error; I get the following error :

I want to ask a Answer,thank you
Is this your complete call in the code? GET https://graph.microsoft.com/v1.0/me/drive/items/{item id}/workbook/worksheets.
iThis issue has not been solved.
II'm use Java code call API get WorkSheets is fail
Error message : Item not found
http request code :
https://microsoftgraph.chinacloudapi.cn/v1.0/users/{user_id}/drive/items/{items_id}/workbook/worksheets
Java code:
WorkbookWorksheetCollectionpage workbookWorksheetpage = graphClient.me().drive().items("{id}").workbook().worksheets("{id|name}")
.buildRequest()
.get();

Files.ReadWrite is exist.

may be the issue is I use the /users/{user id} api endpoint.
I only use the /me/...?
Yes, you can only use the /me endpoint, and then you need to use the authorization flow that obtains the token in the delegation scenario, such as the auth code flow or ROPC flow, cannot use the client credential flow.
This is an error caused by your use of the /users endpoint, don't use the /users/{user id} api endpoint, because the /users context is currently not supported. You can only use the /me endpoint, and then you need to use the authorization flow that obtains the token in the delegation scenario, such as the auth code flow or ROPC flow, cannot use the client credential flow.
If an Answer is helpful, please click "Accept Answer" and upvote it.
2 people are following this question.