All Products
Search
Document Center

Object Storage Service:0044-00000102

Last Updated:Apr 28, 2024

Problem description

The prefix parameter in the ListLiveChannel request is invalid.

Causes

An invalid value is specified for the prefix parameter in the ListLiveChannel request. This parameter specifies the prefix that the names of the returned LiveChannels contain. The value of the prefix parameter cannot be longer than 1,024 bytes and must be encoded in UTF-8.

Examples

For example, you initiate the following request:

GET /?live&prefix=xxx...(2,000 characters omitted)...xxx 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 the value of the prefix parameter exceeds the length limit.

Solutions

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

GET /?live&max-keys=1&prefix=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****************

References