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

Torch Object Storage

Copy page
Download PDF
02-AUTH
0002-00000015
Copy page
Download PDF
0002-00000015
Problem description​
The signature format is invalid.​
Root cause​
The signature format is incorrect.​
Example​
You initiated a request carrying the signature information in the Authorization header, but after splitting the Signature info by equal signs (=), the resulting array does not have a length of 2, the first element is not Signature, or the second element is empty.​
​
PUT /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=d40b6642843=67096f25d​
​
The Signature info in the signature above is Signature=d40b6642843=67096f25d, which splits into an array of length 3 using equal signs (=).​
Solution​
Calculate the signature correctly. For detailed steps, see Signature Mechanism.​
Last updated: 2025.10.11 17:59:36