SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.23k stars 992 forks source link

SharePoint Online 'GetListItemChangesSinceToken' API Issue #9412

Open Itaypa opened 6 months ago

Itaypa commented 6 months ago

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Developer environment

Windows

What browser(s) / client(s) have you tested

Additional environment details

It's not related to the app running it, it is reproducible even with Postman/CURL

Describe the bug / error

We've encountered an issue with our Outlook add-in that uses the SharePoint online REST API 'GetListItemChangesSinceToken' on document libraries. Recently, in various locations, this request fails with a 'System.ArgumentException' on the server side, impacting the functionality of our add-in across multiple organizations.

The issue is reproducible by uploading a specific document ('capitalization table.xlsx') to different SharePoint document libraries, but not when the same file is uploaded to OneDrive. We need assistance in diagnosing and resolving this issue.

Attachments:

Sample Request:

POST https://ravenwooddemo.sharepoint.com/projectsandmeetings/projects/_api/Web/GetList(@a1)/GetListItemChangesSinceToken?@a1='%2fprojectsandmeetings%2fprojects%2fRavenwood+HQ' HTTP/1.1

{"query":{"ViewFields":"<FieldRef Name=\"ID\" />","RowLimit":"1000"}} Sample Response:

{"error":{"code":"-2147024809, System.ArgumentException","message":{"lang":"en-US","value":"Value does not fall within the expected range."}}} sharepointsharepoint-onlinesharepoint-api

Steps to reproduce

  1. upload to a SharePoint library the attached "Capitalization.table.xlsx"
  2. call the API "GetChangesSinceToken" with the library details of the lib' "Capitalization.table.xlsx" was uploaded to

Capitalization table.xlsx

Expected behavior

The file "Capitalization.table.xlsx" should be returned but SharePoint returns an error instead

ghost commented 6 months ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

nivnoiman commented 6 months ago

Following I am facing the same issue. Could you please fix this bug?

EyalAlalouf4 commented 6 months ago

I'm also having this issue & am waiting for a solution.