0015-00000405
Updated at:
Problem description
The value of the marker parameter in your ListObjects request exceeds the maximum allowed length.
Causes
The marker parameter specifies where OSS starts listing objects. OSS returns objects whose names are lexicographically greater than the marker value. Because marker is used for pagination, its value must be less than 1,024 bytes.
Examples
Invalid request — the marker value is approximately 2,000 bytes, which exceeds the 1,024-byte limit:
GET /?max-keys=2&marker=xxx...(2000 bytes here)...xxx HTTP/1.1
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Authorization: SignatureValueValid request — the marker value is test1.txt, a short object name well within the limit:
GET /?max-keys=2&marker=test1.txt HTTP/1.1
Host: examplebucket.oss-cn-shenzhen.aliyuncs.com
Accept-Encoding: identity
Accept: */*
Connection: keep-alive
User-Agent: aliyun-sdk-python/2.11.0(Darwin/18.2.0/x86_64;3.4.1)
date: Tue, 26 May 2020 08:39:48 GMT
authorization: OSS LTAI*************:MmY1**********************Solutions
Make sure the marker value in your request is less than 1,024 bytes.
References
Is this page helpful?