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

Torch Object Storage

Copy page
Download PDF
02-AUTH
0002-00000014
Copy page
Download PDF
0002-00000014
Problem description​
The Host field is missing in the request header.​
Root cause​
The required Host field is missing in the request header for signature.​
Example​
You made a request with signature information in the Authorization header or URL parameter, but the Host field is missing in the request header.​
​
PUT /objectName HTTP/1.1​
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​
​
Solution​
Add the Host header in the request and calculate the signature correctly. For details, refer to Signature Mechanism.​
Last updated: 2025.10.11 17:59:36