InvalidRequest with OneDrive delta API

Naoki Maeda 20 Reputation points

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.

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:$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,876 questions
A Microsoft file hosting and synchronization service.
873 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,889 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emi Zhang-MSFT 22,636 Reputation points Microsoft Vendor


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

    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