在 OneDrive 中出现 resyncApplyDifferences 错误时应该做什么?

What should be done when getting resyncApplyDifferences error in OneDrive?

调用 /delta 时出现以下错误:

resyncApplyDifferences: Resync required. Replace any local items with the server's version (including deletes) if you're sure that the service was up to date with your local changes when you last sync'd. Upload any local changes that the server doesn't know about.

它的要求似乎很极端,我需要把我所有的东西都清除掉,然后用服务器版本替换它们吗?我知道当前的同步状态很好,那么有什么办法可以绕过这个错误吗?

还有什么触发了这条消息?以后有什么办法可以避免吗?

这里的错误内容听起来有点严重,实际上是这样。基本上是说 delta 令牌存在问题,服务无法再确定自上次轮询以来对驱动器的更改。

如果您 100% 确定没有任何变化,您可以通过请求 /delta 而不使用令牌并重新开始来简单地重置。如果您不是 100% 确定,您可以将新的 /delta 与您的本地文件进行比较,并重新应用所需的任何更改(上传驱动器中丢失的本地文件、删除从驱动器中删除的文件等)。