更新时间:2023-12-04 20:04:58
基于您的代码,您正在使用客户端凭据流(也称为仅应用程序).在这种情况下,不支持可恢复的上载.从文档:
Based on your code, you're using the client credentials flow (aka app-only). Resumable uploads are not supported in this scenario. From the documentation:
注意:此API尚不支持Files.ReadWrite.All应用程序权限.计划全面支持.
Note: The Files.ReadWrite.All application permission is not yet supported on this API. Full support is planned soon.
目前,仅使用委派权限支持断点续传.
At this time, resumable uploads are only supported using delegated permission.