0015-00000502

Updated at:

Problem description

You cannot configure a bucket policy that allows public access.

Causes

Block Public Access is enabled on the bucket. When Block Public Access is enabled, OSS does not allow you to configure bucket policies that allow public access.

Examples

Block Public Access is enabled on a bucket. You then configure a bucket policy that allows public access. OSS does not allow the policy configuration.

Solutions

To resolve this issue, check whether public access is allowed in the bucket policy.

References

Block Public Access