microsoftgraph / msgraph-sdk-dotnet

Microsoft Graph Client Library for .NET!
https://graph.microsoft.com
Other
690 stars 246 forks source link

ListItem Permissions API not working with itemNotFound #2584

Open dev-tony-hu opened 2 months ago

dev-tony-hu commented 2 months ago

Describe the bug

I'm trying to use Graph beta API to get ListItem permission but got itemNotFound error.

Expected behavior

Works normally

How to reproduce

Use graph explorer or Graph sdk.

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ``` Request: https://graph.microsoft.com/beta/sites/xxx.sharepoint.com,ea0ad322-2b3a-4863-a452-79bd4fe29bc9,c656d1d8-ab24-497d-bd4d-6e4b3f79f1f9/lists/b4a0f386-8917-4679-b97f-1d399e1b30b2/items/1d171ea9-57f9-43d6-bd96-a9dd6999c1b5/permissions Authorization: Bearer eyJ0e Response: Cache-Control: no-store, no-cache Transfer-Encoding: chunked Strict-Transport-Security: max-age=31536000 request-id: 639f513f-77a3-4f78-a136-98eaa3e23687 client-request-id: 639f513f-77a3-4f78-a136-98eaa3e23687 x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Korea Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"SE1PEPF0000C15F"}} Link: ;rel="deprecation";type="text/html", ;rel="deprecation";type="text/html" Deprecation: Fri, 03 Sep 2021 23:59:59 GMT Sunset: Sun, 01 Oct 2023 23:59:59 GMT Date: Tue, 16 Jul 2024 01:37:42 GMT {"error":{"code":"itemNotFound","message":"Item not found","innerError":{"date":"2024-07-16T01:37:42","request-id":"639f513f-77a3-4f78-a136-98eaa3e23687","client-request-id":"639f513f-77a3-4f78-a136-98eaa3e23687"}}} ```

Configuration

No response

Other information

No response

MartinM85 commented 2 months ago

Seems like the server side issue. I've tried the same endpoint few weeks ago via Graph Explorer and got the same itemNotFound error. I haven't tried POST method, maybe the issue affects only GET method.