InvalidRequest with OneDrive delta API

Naoki Maeda 20 Reputation points
2024-04-25T05:36:20.8966667+00:00

We are developing a service to synchronize drives using the OneDrive API.

We are utilizing delta links to retrieve the next set of changes by saving either the @odata.nextLink or @odata.deltaLink from the response and polling every few minutes to synchronize.

https://graph.microsoft.com/v1.0/me/drive/root/delta?token=latest

While normally it returns successfully, starting around 07:25 on April 25th, we began receiving an invalidRequest response.

Here's a sample response:

{
    "error": {
        "code": "invalidRequest",
        "message": "One of the provided arguments is not acceptable.",
        "innerError": {
            "code": "badArgument",
            "date": "2024-04-24T23:14:56",
            "request-id": "xxx",
            "client-request-id": "xxx"
        }
   }
}

We haven't made any changes to the request parameters.

Here's an example link:

https://graph.microsoft.com/v1.0/me/drive/root/delta?token=xxx&$top=50

Why are we receiving this error?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,645 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
826 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,682 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emi Zhang-MSFT 22,011 Reputation points Microsoft Vendor
    2024-04-25T07:13:11.6066667+00:00

    Hi,

    I suggest you post this issue to OneDrive for developer forum:

    https://techcommunity.microsoft.com/t5/onedrive-developer/bd-p/OneDriveDeveloper

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful