Problem description
When you call operations, such as PutBucket
, PutBucketAcl
, PutBucketPolicy
, and PutBucketLifecycle
, HTTP status code 403
is returned.
Causes
All bucket-level operations, such as PutBucket
, PutBucketAcl
, PutBucketPolicy
, and PutBucketLifecycle
, do not support V1 signed URLs. For more information about bucket-level operations, see Bucket operations.
Examples
You called the PutBucketAcl
operation that contained the V1 signed URL.
PUT /?acl&OSSAccessKeyId=nz2p****&Expires=abc&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv**** HTTP/1.1
x-oss-acl: Permission
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Solutions
You can use one of the following methods to call bucket-level operations with V1 signed URLs:
Include the Authorization header in an HTTP request to carry signature information. For more information, see Include signatures in the Authorization header.
Use the OSS console.