0003-00001201

更新时间:
复制 MD 格式

Problem description

Anonymous access is not supported for the operation.

Causes

The request does not include identity information. Operations such as PutBucket and DescribeRegions require authentication.

Examples

The following request triggers this error because it does not include an Authorization header:

GET /?regions HTTP/1.1
Host: oss-cn-hangzhou.aliyuncs.com
Date: Fri, 20 Aug 2021 06:38:30 GMT

Solutions

Option 1 (recommended): Use the OSS SDK

Use the OSS SDK to send requests and specify the correct identity information such as the AccessKey pair. For setup instructions, see Overview.

Option 2: Sign the request manually

Include the Authorization header in the request, or add signature parameters to the URL.

The following example shows a correctly signed request:

GET /?regions HTTP/1.1
Host: oss-cn-hangzhou.aliyuncs.com
Date: Fri, 20 Aug 2021 06:38:30 GMT
Authorization: SignatureValue

For details on constructing the signature, see: