{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/152","labels_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/152/comments","events_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/152/events","html_url":"https://github.com/awslabs/aws-sdk-go/issues/152","id":64826918,"number":152,"title":"S3.ListObjects returns IsTruncated as true with a nil NextMarker","user":{"login":"kshinn","id":33873,"avatar_url":"https://avatars.githubusercontent.com/u/33873?v=3","gravatar_id":"","url":"https://api.github.com/users/kshinn","html_url":"https://github.com/kshinn","followers_url":"https://api.github.com/users/kshinn/followers","following_url":"https://api.github.com/users/kshinn/following{/other_user}","gists_url":"https://api.github.com/users/kshinn/gists{/gist_id}","starred_url":"https://api.github.com/users/kshinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshinn/subscriptions","organizations_url":"https://api.github.com/users/kshinn/orgs","repos_url":"https://api.github.com/users/kshinn/repos","events_url":"https://api.github.com/users/kshinn/events{/privacy}","received_events_url":"https://api.github.com/users/kshinn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-27T18:42:02Z","updated_at":"2015-03-27T21:43:24Z","closed_at":null,"body":"I've done a couple of calls on a bucket I have using different prefix searches. The IsTruncated version is returning true and when I inspect the NextMarker the value is nil. ~~There are prefix searches I'm doing where I know that the return value is < 1000, but IsTruncated still returns true.~~ Searches returning < 1000 seem to work fine. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/comments/87099865","html_url":"https://github.com/awslabs/aws-sdk-go/issues/152#issuecomment-87099865","issue_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/152","id":87099865,"user":{"login":"lsegal","id":686,"avatar_url":"https://avatars.githubusercontent.com/u/686?v=3","gravatar_id":"","url":"https://api.github.com/users/lsegal","html_url":"https://github.com/lsegal","followers_url":"https://api.github.com/users/lsegal/followers","following_url":"https://api.github.com/users/lsegal/following{/other_user}","gists_url":"https://api.github.com/users/lsegal/gists{/gist_id}","starred_url":"https://api.github.com/users/lsegal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsegal/subscriptions","organizations_url":"https://api.github.com/users/lsegal/orgs","repos_url":"https://api.github.com/users/lsegal/repos","events_url":"https://api.github.com/users/lsegal/events{/privacy}","received_events_url":"https://api.github.com/users/lsegal/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T21:43:24Z","updated_at":"2015-03-27T21:43:24Z","body":"@kshinn our plan is to always return the API response as provided by the service at the low-level clients. This provides a more consistent interface that reflects all AWS documentation (including our own, which is generated *from* service documentation) and won't break if the underlying API makes subtle adjustment to their own return values. I would recommend opening a thread on the [Amazon S3 forums](https://forums.aws.amazon.com/forum.jspa?forumID=24) to request feature support from the API itself.\r\n\r\nAs a sidenote, a lot of this complexity will go away (or at least hidden) once pagination support (#58) is added, since the SDK will be able to correctly manage this logic for you."}}