云开发上传图片时报InvalidAccessKeyId The Access Key ?
在使用接口HTTP API 接口:https://api.weixin.qq.com/componenttcb/uploadfile?access_token 时
第一步调用正常返回,可以拿到返回数据 ,errcode=0
{
"errcode": 0,
"errmsg": "ok",
"url": "https://cos.ap-shanghai.myqcloud.com/656e-env-999-0grfaysm0bfb3fa1-1304666979/testupload",
"token": "",
"authorization": "",
"file_id": "",
"cos_file_id": ""
}
第二步通过postman请求,异常InvalidAccessKeyId The Access Key Id you provided does not exist in our records ,
难道是key的问题吗?换为路径和图片.png结尾也是报这个问题