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

Torch Object Storage

Copy page
Download PDF
05-REQUEST
0005-00000011
Copy page
Download PDF
0005-00000011
Problem description​
The Content-Length header value is not a valid integer or is out of the allowed range.​
Root cause​
The Content-Length header in the user request is either not a valid integer or is outside the allowed range for the interface.​
Example​
You initiated a request to bind a custom domain, but the Content-Length header value is negative.​
​
PUT /?customdomain HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 08:05:36 +0000​
Authorization: authorization xxx​
Content-Length: -1​
​
{​
"CustomDomainRule": {​
"Domain": "example.com",​
"CertId": "certID"​
}​
}​
​
Solution​
Check if the Content-Length header value is an integer and within the valid range.​
Last updated: 2025.10.11 17:59:37