0038-00000011

Updated at:

Problem description

The request parameter max-keys is invalid.

Causes

You initiated a ListBucketAntiDDosInfo request to obtain the information about bucket protection, but the max-keys parameter in the request is invalid.

Examples

For example, you initiate the following request:

GET /?bucketAntiDDos?marker=&max-keys=-100 HTTP/1.1
Date:  GMT Date
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: SignatureValue

An error is returned because the value of the max-keys parameter in the request is not a valid positive integer.

Solutions

Make sure that the value of the max-keys parameter is an integer within the range of 0 to 100. The following code provides a valid sample request:

GET /?bucketAntiDDos?marker=&max-keys=100 HTTP/1.1
Date:  GMT Date
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: SignatureValue

References