0015-00000406

Updated at:

Problem description

The value that you specified for the delimiter parameter in the ListObject request is invalid.

Causes

You initiated a ListObject request to list buckets, but the value that you specified for the delimiter parameter in the request is invalid. This parameter specifies a character that you want to use to group objects by name. If you specify the delimiter parameter in the request, the response contains the CommonPrefixes parameter. The objects whose names contain the same string from the prefix to the next occurrence of the delimiter are grouped as a single result element in the CommonPrefixes parameter. The value of the delimiter parameter must be one character in length.

Examples

For example, you initiate the following request:

GET /?prefix=fun/&delimiter=abc HTTP/1.1
Host: examplebucket.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 24 Feb 2012 08:43:27 GMT
Authorization: OSS qn6q**************:77Dv****************

The value of the delimiter parameter in the request exceeds the upper limit for the value length. As a result, the error is returned.

Solutions

Make sure that the value of the delimiter parameter in your request is one character in length.

GET /?prefix=fun/&delimiter=/ HTTP/1.1
Host: examplebucket.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 24 Feb 2012 08:43:27 GMT
Authorization: OSS qn6q**************:77Dv****************

References