All Products
Search
Document Center

Object Storage Service:0002-00000107

Last Updated:Jul 21, 2023

Issue description

The value of the AccessKeyId field in the Authorization request header is invalid.

Causes

You initiated a request that used the V2 signature, but the value of the AccessKeyId field in the Authorization request header is invalid.

Examples

The request you initiated used the V2 signature, but the value of the AccessKeyId field in the Authorization request header contains the invalid characters \r.

GET /oss.jpg HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Tue, 20 Dec 2022 08:48:18 GMT
Authorization: OSS2 AccessKeyId:\r***xyz,AdditionalHeaders:host,Signature:n7I**I0=

Solutions

Make sure that the value of the AccessKeyId field in the Authorization request header is valid.