本文介绍了OneNote API不会返回新页面(即使通过ms graph资源管理器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是通过Android/iOS的Microsoft graph SDK与OneNote API集成的应用程序的创建者.我的几个用户报告说,新的OneNote笔记停止与该应用同步(受此影响的数百人).

I'm a creator of an app that integrates with OneNote API via Microsoft graph SDKs for Android/iOS. Several of my users reported that the new OneNote notes stopped syncing with the app (hundreds more affected by this).

我一直在调试它.而且我可以确认OneNote API不会返回新页面.重现:

I've been debugging this. And I can confirm that OneNote API does not return new pages.To reproduce:

1) create some new notes

2) go to Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer/)

3) user basic query (https://graph.microsoft.com/v1.0/me/onenote/pages)

几天后仍未返回新页面.我的应用程序使用相同的端点来获取最新页面.

New pages are not being returned, even after a few days. My app uses the same endpoint to get the latest pages.

如果有人可以对此进行调查,我将不胜感激.我可以提供调试所需的所有数据.

I would appreciate it if someone could look into this. I can provide all the data needed to debug.

侧面说明:官方的OneNote应用程序可以正确查看笔记(在iOS和Android上).

Side Note: The official OneNote app sees the notes correctly (on both iOS and Android).

更新

MS Graph Explorer开始显示5天前添加的注释(我们的用户报告相同).因此,在传播数据方面似乎延迟了很长时间(官方的OneNote应用几乎立即同步新页面).希望得到OneNote团队对此的回应.

MS Graph Explorer started showing notes which were added 5 days ago (our users report the same). So it seems like a very long delay in propagating the data (the official OneNote app syncs new pages almost instantly). It would be great to get a response from OneNote team on this.

好像是两年前曾报道过类似问题

Looks like similar issue was reported 2 years ago

是否有办法克服OneNote客户端更改和API结果之间的滞后?

使用"FavorDataRecency"标头进行了测试,但仍然没有结果.

Tested with "FavorDataRecency" header but still no results.

更新2(05.02.2020)新笔记停止完全显示(即使在几周后仍经过测试).有趣的是,如果我创建一个新部分,则该部分会立即从API端点弹出(只是名称,不带注释).

UPDATE 2 (05.02.2020)The new notes stopped showing up completely (tested even after a few weeks time).What is interesting is that if I create a new section the section pops up from the API endpoint immediately (just name, without notes).

推荐答案

我们认为此问题已解决.我们这端的机器集群很差,导致作业卡住,从而导致延迟.让我们知道谢谢!

We believe this issue has been resolved. It was a bad machine cluster on our end that was causing the jobs to get stuck and hence the delay. Let us know. Thanks!

这篇关于OneNote API不会返回新页面(即使通过ms graph资源管理器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 05:53