0030-00000006

Updated at:

Problem description

The specified bucket policy does not exist.

Causes

The bucket on which you call the GetBucketPolicy operation does not have a bucket policy.

Examples

For example, you initiate the following request:

GET /?policy
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Tue, 13 Nov 2018 09:09:13 GMT
Authorization: OSS qn6q**************:77Dv****************

The error is returned for the preceding request because no bucket policy is configured for the bucket.

Solutions

Configure a bucket policy for the bucket and query the bucket policy of the bucket.

References