All Products
Search
Document Center

Object Storage Service:0012-00000005

Last Updated:Jul 21, 2023

Problem description

A data synchronization task is being performed on the bucket for which you initiate the request to configure versioning.

Causes

The PutBucketVersioning operation cannot be performed on a bucket on which a data synchronization task is being performed.

Examples

A request is initiated to perform the PutBucketVersioning operation on a bucket named oss-example. However, a data synchronization task is being performed on the bucket.

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

Initiate the PutBucketVersioning request after the data synchronization task is complete.

References