0012-00000005

更新时间:
复制 MD 格式

Problem description

A data synchronization task is running on the bucket when you send a request to configure versioning.

Causes

OSS does not allow PutBucketVersioning on a bucket while a data synchronization task is in progress.

Examples

The following request fails because oss-example has an active data synchronization task:

PUT /?versioning HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue
<?xml version="1.0" encoding="UTF-8"?>
<VersioningConfiguration>
    <Status>Enabled</Status>
</VersioningConfiguration>

Solutions

Wait for the data synchronization task to finish, then retry the PutBucketVersioning request.

References