We encountered a potential bug when using Microsoft Graph API to query SharePoint list items

NarkhedeAmol 0 Reputation points
2025-04-21T06:39:22.84+00:00

We have a solution called Boxafe developed by us ( QNAP Systems Inc) helps customers to backup their M365 SAAS data to QNAP's local storage. This includes backup of Email, contacts, Calendar, One Drive Files, Sharepoint files, Teams data.

One of our customers is facing issue with few of his sharepoint sites to backup. Can you help with this. following are the details.

|We encountered a potential bug when using Microsoft Graph API to query SharePoint list items, this request is generated based on the @odata.nextLink returned from M365.

Request:
https://graph.microsoft.com/v1.0/sites/sahsml.sharepoint.com,aabe8d71-af12-434e-bf5d-4f06120ffd58,97812599-2b7c-45c7-88c0-8712de10b789/lists/2a2ef00b-a8ab-47ad-95d0-becddf239a5f/items?$select=sharepointIds%2CparentReference&$expand=driveItem(%24select%3DparentReference)&$top=1000&$skiptoken=UGFnZWQ9VFJVRSZwX0lEPTE0MTgwOCZpeF9QYWdlZD1UUlVFJml4X0lEPTE0MTgwOCZpeF9LZXk9RjNCODI5RTMzQkI3NEJCNEFCRjE1OTM5NUI3MUMyMEE [^]
Response:
{'error': {'code': 'invalidRequest', 'message': 'One of the provided arguments is not acceptable.', 'innerError': {'code': 'badArgument', 'date': '2025-04-13T18:04:34', 'request-id': 'e9803381-6a9f-4fa3-aaac-f591f7d20235', 'client-request-id': 'e9803381-6a9f-4fa3-aaac-f591f7d20235'}}}| | -------- | |We encountered a potential bug when using Microsoft Graph API to query SharePoint list items, this request is generated based on the @odata.nextLink returned from M365. Request: https://graph.microsoft.com/v1.0/sites/sahsml.sharepoint.com,aabe8d71-af12-434e-bf5d-4f06120ffd58,97812599-2b7c-45c7-88c0-8712de10b789/lists/2a2ef00b-a8ab-47ad-95d0-becddf239a5f/items?$select=sharepointIds%2CparentReference&$expand=driveItem(%24select%3DparentReference)&$top=1000&$skiptoken=UGFnZWQ9VFJVRSZwX0lEPTE0MTgwOCZpeF9QYWdlZD1UUlVFJml4X0lEPTE0MTgwOCZpeF9LZXk9RjNCODI5RTMzQkI3NEJCNEFCRjE1OTM5NUI3MUMyMEE [^] Response: {'error': {'code': 'invalidRequest', 'message': 'One of the provided arguments is not acceptable.', 'innerError': {'code': 'badArgument', 'date': '2025-04-13T18:04:34', 'request-id': 'e9803381-6a9f-4fa3-aaac-f591f7d20235', 'client-request-id': 'e9803381-6a9f-4fa3-aaac-f591f7d20235'}}}|

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,621 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.