0015-00000303

Updated at:

Problem description

You cannot delete a bucket that contains LiveChannels.

Causes

You sent a DeleteBucket request, but the bucket contains LiveChannels. OSS blocks the deletion until all LiveChannels are removed.

Examples

The following request attempts to delete a bucket that contains LiveChannels:

DELETE / HTTP/1.1
Host: bucket-with-channel.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue

The request fails because the bucket-with-channel bucket still contains LiveChannels.

Solutions

Warning

Bucket deletion is irreversible. Back up any data you need before you delete the bucket.

Before you delete the bucket, remove all resources from it in the following order:

  1. Delete objects. For a small number of objects, delete them manually. See Delete objects. For a large number of objects, configure lifecycle rules to expire and remove objects automatically. See Lifecycle rules based on the last modified time. If versioning is enabled, delete all versions of every object. See Overview.

  2. Delete parts. Remove all parts generated by incomplete multipart upload and resumable upload tasks. See Manage parts.

  3. Delete LiveChannels. Delete all LiveChannels in the bucket. See DeleteLiveChannel.

References

Delete buckets