All Products
Search
Document Center

Object Storage Service:0044-00000101

Last Updated:Apr 28, 2024

Problem description

The max-keys parameter in the ListLiveChannel request is invalid.

Causes

An invalid value is specified for the max-keys parameter in the ListLiveChannel request. The max-keys parameter specifies the maximum number of LiveChannels that can be returned for the operation. The parameter must be set to an integer that is greater than 0 and less than or equal to 1000. The default value of the parameter is 100.

Examples

For example, you initiate the following request:

GET /?live&max-keys=abc HTTP/1.1
Date: Thu, 25 Aug 2016 07:50:09 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************

The error is returned for the preceding request because abc is not a valid value of the max-keys parameter.

Solutions

Make sure that all parameters in the request are valid, as shown in the following sample request:

GET /?live&max-keys=1 HTTP/1.1
Date: Thu, 25 Aug 2016 07:50:09 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************

References