You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
02-AUTH
0002-00000004
Copy page
Download PDF
0002-00000004
Problem description​
The signature format in the Authorization header is invalid.​
Root cause​
The signature format provided in the Authorization header is incorrect.​
Example​
You initiated a request with a signature in the Authorization header, but the signature format in the Authorization header is incorrect. For example, when splitting the signature Credential information by the equal sign (=), the resulting array length is not 2.​
​
GET /objectName HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: GMT Date​
x-tos-content-sha256: abc***​
x-tos-date: 2022***​
Authorization: TOS4-HMAC-SHA256 Credential=testAK/20220322/=cn-beijing/tos/request, SignedHeaders=host;x-tos-content-sha256;x-tos-date, Signature=d40b66cf0054d1642843670d10fa095e1609c7896f25df217770b0abe717693b​
​
The Credential information in the signature above is Credential=testAK/20220322/=cn-beijing/tos/request, whose array length after splitting by the equal sign (=) is 3.​
Solution​
Calculate the signature correctly. For detailed instructions, refer to signature mechanism.​
Last updated: 2025.10.11 17:59:36