0027-00000003
Updated at:
Problem description
Versioning is enabled for the bucket for which you want to configure retention policies.
Causes
If versioning is enabled for a bucket, you cannot configure retention policies for the bucket.
Examples
You initiated an InitiateBucketWorm request for a bucket for which versioning is enabled.
POST /?worm HTTP/1.1
Date: Thu, 15 May 2014 11:18:32 GMT
Content-Length: 556
Content-Type: application/xml
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************
<InitiateWormConfiguration>
<RetentionPeriodInDays>365</RetentionPeriodInDays>
</InitiateWormConfiguration>
Solutions
Make sure that versioning is not enabled for the bucket for which you want to configure retention policies. For more information about versioning, see Overview.
References
Is this page helpful?