Same issue and not using SharePoint just using OneDrive
OneNote API calls fail with a large number of items in a SharePoint document library
OneNote API calls fail with a large number of items in a SharePoint document library

Hi there, I am getting the below response when I tried to fetch the Notebooks with offset queries
Note : Notebooks synced crossed 5k files & we are about to sync 23k files
When the totals notebooks count below 5k it worked well but now it's throwing below error - Please help me on this - How to resolve this
One or more of the document libraries on the user or group’s OneDrive contains more than 5,000 OneNote items (notebooks, sections, section groups) and cannot be queried using the API. Please make sure that none of the user or group’s document libraries contains more than 5,000 OneNote items. Browse to this page for more information: https://blogs.msdn.microsoft.com/onenotedev/2016/09/11/onenote-api-calls-fail-with-a-large-number-of-items-in-a-sharepoint-document-library/
I am stuck with this words (5,000 OneNote items (notebooks, sections, section groups)) from the response - It shouldn't include BY SECTIONS wise also?
in a folder...
I have created folders (subfolders) have not more than 5k files in each main folder based on this first comment (https://answers.microsoft.com/en-us/msoffice/forum/msoffice_onedrivefb-mso_other-mso_o365b/evernote-to-onenote-import-fails/cf762ba1-00b4-43bc-9856-ec1fba07449e?page=1) but no use
My Onedrive have the notebook files not in sharepoint - I don't have any files in sharepoint
1 answer
Sort by: Most helpful
-
OneRingRules 1 Reputation point
2021-12-15T11:53:25.34+00:00