You need to enable JavaScript to run this app.
导航

0012-00000012

最近更新时间2024.01.05 16:32:19

首次发布时间2024.01.05 16:32:19

问题描述

桶数据复制规则非法。

问题原因

用户设置桶数据复制规则时,HistoricalObjectReplication 字段取值为 Enabled,但该区域暂不支持历史对象复制。

问题示例

您进行桶数据复制规则配置时,HistoricalObjectReplication 字段取值为 Enabled,但该区域暂不支持历史对象复制。

PUT /?replication HTTP/1.1
Host: bucketname.tos-cn-beijing.volces.com
Date: Fri, 30 Jul 2021 08:05:36 +0000
Authorization: authorization xxx
Content-Length: 120
Content-MD5: xxx
{
    "Role": "Your role",
    "Rules":[{
        "ID": "1",
        "Status": "Enabled",
        "PrefixSet": ["abc"],
        "Destination":{
            "Bucket": "Target Bucket Name",
            "Location": "cn-beijing",
            "StorageClass": "STANDARD",
            "StorageClassInheritDirective": "DESTINATION_BUCKET"
        },
        "HistoricalObjectReplication": "Enabled"
    }]
}

解决方案

删除复制规则中的 HistoricalObjectReplication 配置。