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

Torch Object Storage

Copy page
Download PDF
02-AUTH
0002-00000006
Copy page
Download PDF
0002-00000006
Problem description​
Invalid signature format.​
Root cause​
The signature format is incorrect.​
Example​
You sent a request carrying signature information in the Authorization header, URL parameter X-Tos-Credential, or form element x-tos-credential, but the array length after splitting the signature Credential information by forward slash (/) is not 5.​
​
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/request,SignedHeaders=host;x-tos-content-sha256;x-tos-date,Signature=d40b66cf0054d1642843670d10fa095e1609c7896f25df217770b0abe717693b​
​
The Credential information in the above signature is Credential=testAK/20220322/cn-beijing/request, and the array length after splitting by forward slash (/) is 4.​
Solution​
Calculate the signature correctly. For detailed operations, see signature mechanism.​
Last updated: 2025.10.11 17:59:35