I have a OneNote notebook that is shared in a OneDrive library. When trying to get the sections via the REST API, I get the 10008 error message explaining that I have more than 5000 items and the query cannot be completed. I know that this notebook has far less than 5000 sections, but the OneDrive library has more than 5000 items.
My query is as follows:
https://www.onenote.com/api/v1.0/users/{user id}/notes/notebooks/{notebook id}/sections
I would have expected this kind of error if I was expecting to return 5000+ items, but in this case, I'm expecting somewhere in the neighborhood of 10-20 sections.
I have two questions I'd like answered by the OneNote product group:
- Is there a way around this without moving the notebook?
- Can I get an explanation as to why this is necessary?