Problem description
The request uses the S3-compatible authentication mode. However, the x-oss-security-token header is used in the request to specify the security token.
Causes
The request uses the S3-compatible authentication mode. However, the x-oss-security-token header field is used in the request to specify the security token.
Examples
GET /oss.jpg HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 24 Feb 2012 06:38:30 GMT
Authorization: AWS qn6q**************:77Dv****************
x-oss-s3-compat: true
x-oss-security-token: CAISowJ1q6Ft5B2yfSjIr5bgIOz31blR****Solutions
Specify the security token by configuring the x-amz-security-token header field in the request.
GET /oss.jpg HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 24 Feb 2012 06:38:30 GMT
Authorization: AWS qn6q**************:77Dv****************
x-oss-s3-compat: true
x-amz-security-token: CAISowJ1q6Ft5B2yfSjIr5bgIOz31blR****For more information, see Use Amazon S3 SDKs to access OSS.