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

Torch Object Storage

Copy page
Download PDF
05-REQUEST
0005-00000019
Copy page
Download PDF
0005-00000019
Problem description​
Request x-tos-content-sha256 verification does not match.​
Root cause​
The user includes x-tos-content-sha256 in the request when uploading an object, but it does not match the SHA256 calculated by the server.​
Example​
You send an object upload request carrying x-tos-content-sha256 to verify that the message content matches what was sent.​
​
PUT /objectName HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 08:05:36 GMT​
Authorization: authorization xxx​
Content-Length: 100​
x-tos-content-sha256: xxx​
<put content>​
​
Solution​
Verify that the calculation method for x-tos-content-sha256 is correct.​
Last updated: 2025.10.11 17:59:38