Hahaha
OneNote graph API results lag behind current state
I am calling the OneNote Graph API to list the pages in a section. The pages returned are not in the current state of the section. The OneNote desktop application on two different computers displays the current state of the section. The Graph API is returning old information. It takes over ten minutes or a certain action before returning current results. I am using Graph Explorer and JavaScript to call the API. The OneNote desktop clients display changes within a short time. It seems that the OneNote desktop app can query more current results, and the Graph API is limited to cached data.
Is this a case of eventual consistency?
These are descriptions of the API lagging results
I have a section with nine pages in it.
The Graph Explorer, JavaScript app, and OneNote app display all nine pages. In OneNote I deleted eight pages. A different computer with OneNote desktop app soon reflected this change. The OneNote Graph API continued to return the nine pages. The Graph API returned the nine pages for about 30 minutes. Eventually, the Graph API returned the current status of the section.
While awaiting the Graph API to return one page for the section, I decided to create a page using the Graph API. After creating the page, both OneNote desktop applications were updated and showed the newly added page. The Graph API continued to return the previous state. It took over ten minutes for the Graph API to return the newly added page.