为什么为我用qiniu的python sdk生成的token,在续点上传时会出现 “None bad token, detail:up:out of auth scope;UP:3/401”?是不是我生成的token不对?
policy = qiniu.rs.PutPolicy(bucket_name)
extra = qiniu.resumable_io.PutExtra(bucket_name)
uptoken = policy.token()
ret, err = qiniu.resumable_io.put_file(uptoken, file_name, file,extra)
file_name 能够打印下么?是不是合法的 utf8 字符串?