InvalidRequest with OneDrive delta API
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?
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? Read More