【发布时间】:2020-05-25 05:52:46
【问题描述】:
我想在我的应用中使用 HUAWEI Drive 服务。我的应用集成了HUAWEI Drive Kit 4.0.3.300。我的应用调用Drive.Files.Create(File content) API上传文件时,上传失败,日志报错码403。 我查看了华为帐号登录代码,发现Drive范围设置正确,Android Studio版本为3.6.3。 日志中的错误信息如下:
{"error":{"code":403,"description":"Not sign agreement, please confirm","errorDetail":[{"reason":"AGREEMENT_NOT_SIGNED","domain":"global","errorCode":"21004033","description":"Not sign agreement, please confirm"}]}}
【问题讨论】: