获取分片信息 使用listParts 方法报错

报错内容如下:

Empty value for @org.simpleframework.xml.Element(name=DisplayName, type=void, data=false, required=true) on field 'displayName' private java.lang.String io.minio.messages.Initiator.displayName in class io.minio.messages.Initiator at line 2

有没有人遇到过,怎么解决

如下是存储桶策略

{

"Version": "2012-10-17",

"Statement": [{

"Effect": "Allow",

"Principal": {

"AWS": ["*"]

},

"Action": ["s3:ListBucket", "s3:ListBucketMultipartUploads", "s3:GetBucketLocation"],

"Resource": ["arn:aws:s3:::demo"]

}, {

"Effect": "Allow",

"Principal": {

"AWS": ["*"]

},

"Action": ["s3:AbortMultipartUpload", "s3:DeleteObject", "s3:GetObject", "s3:ListMultipartUploadParts", "s3:PutObject"],

"Resource": ["arn:aws:s3:::demo/*"]

}]

}

请先 登录 后评论
  • 0 关注
  • 0 收藏,46 浏览
  • 故乡 提出于 2021-02-18 11:30

相似问题