All Products
Search
Document Center

Object Storage Service:0004-00000502

Last Updated:Apr 15, 2025

Problem description

The value of the x-oss-traffic-limit parameter in the request, which is used to limit the transmission speed of a single connection, is invalid.

Causes

You initiate a request in which the x-oss-traffic-limit parameter is invalid.

Examples

Sample request:

GET /test.txt HTTP/1.0
Date: Tue, 20 Dec 2022 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS LTAI****************:kZoY************************
x-oss-traffic-limit: abc

In the preceding example, the value of the x-oss-traffic-limit parameter is abc, which is invalid. As a result, the request is denied.

Solutions

Specify a valid value for the x-oss-traffic-limit parameter. Valid values: 819200 to 838860800. Unit: bit/s.

GET /test.txt HTTP/1.0
Date: Tue, 20 Dec 2022 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS LTAI****************:kZoY************************
x-oss-traffic-limit: 819200

For more information about single-connection bandwidth throttling, see Single-connection bandwidth throttling.