All Products
Search
Document Center

Object Storage Service:0017-00000290

Last Updated:Jul 21, 2023

Problem description

The error is returned if the prefix parameter in a request, such as ListBuckets, is invalid.

Causes

The prefix parameter is invalid.

Examples

The prefix parameter specifies the prefix that the names of the buckets that you want to return must contain for a request, such as ListBuckets. If this parameter is not specified, prefixes are not used to filter the buckets that you want to return. In the following example, prefix is set to my.

GET /?prefix=my&max-keys=10 HTTP/1.1
Date: Thu, 15 May 2014 11:18:32 GMT
Host: oss-cn-hangzhou.aliyuncs.com
Authorization: OSS nxj7dtwhcyl5hpvnhi:COS3OQkfQPnKmYZTEHYv2****

Solutions

Make sure that the value of prefix is valid.

References

ListBuckets (GetService)