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

Torch Object Storage

Copy page
Download PDF
02-AUTH
0002-00000005
Copy page
Download PDF
0002-00000005
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 carrying a signature in the Authorization header, but the signature format in the Authorization header is incorrect. For example, after splitting the signature Credential information by the equal sign (=), the first element in the array is not Credential.​
​
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 Credential1=testAK/20220322/cn-beijing/tos/request,SignedHeaders=host;x-tos-content-sha256;x-tos-date,Signature=d40b66cf0054d1642843670d10fa095e1609c7896f25df217770b0abe717693b​
​
The Credential information in the above signature is Credential1=testAK/20220322/cn-beijing/tos/request. After splitting by the equal sign (=), the first element in the array is Credential1.​
Solution​
Calculate the signature using the correct method. For detailed instructions, see Signature Mechanism.​
Last updated: 2025.10.11 17:59:36