0026-00000202

更新时间:
复制 MD 格式

Problem description

You tried to delete or modify a protected object in a bucket.

Causes

You sent a request to delete or modify an object. The bucket that contains the object has a retention policy and is in its retention period. Objects cannot be modified or deleted during the retention period.

Examples

The following is a sample request:

DELETE /test.txt HTTP/1.1
Host: wormbucket.oss-cn-zhangjiakou.aliyuncs.com
Date: Wed, 02 Jan 2019 13:28:38 GMT
Authorization: OSS qn6q**************:77Dv****************

If a retention policy is enabled for the wormbucket bucket and the bucket is in its retention period, the request fails and returns this error.

Solutions

Delete or modify objects in the bucket after the retention period ends. Call the GetBucketWorm operation to obtain the retention period.

References

Retention policies