使用HUAWEI Drive Kit查询文件列表报错
An error is reported when HUAWEI Drive Kit is used to query the file list
我想在我的应用中使用华为云端硬盘服务。我的应用集成了HUAWEI Drive Kit 4.0.3.300。我的app调用Drive.Files.Create(File content) API上传文件时,上传失败,日志报错码403。
查看华为帐号登录码,Drive scope设置正确,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"}]}}
该错误信息表示您未签署华为云盘用户协议。请访问https://cloud.huawei.com/签署此协议。
更多错误码信息请参考以下文档:
https://developer.huawei.com/consumer/en/doc/development/HMS-References/drivekit-devreference
我想在我的应用中使用华为云端硬盘服务。我的应用集成了HUAWEI Drive Kit 4.0.3.300。我的app调用Drive.Files.Create(File content) API上传文件时,上传失败,日志报错码403。 查看华为帐号登录码,Drive scope设置正确,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"}]}}
该错误信息表示您未签署华为云盘用户协议。请访问https://cloud.huawei.com/签署此协议。
更多错误码信息请参考以下文档: https://developer.huawei.com/consumer/en/doc/development/HMS-References/drivekit-devreference