boto/boto — Issue #548: Paging of results from Layer2.query() not working
Author: garnaat
Created: 2012-02-03 16:15:32+00:00
State: open
Labels: Bug, DynamoDB

If the query in question requires paged results, the LastEvaluatedKey is passed into the next call to query to specify the starting point for the new query. The problem is that the LastEvaluatedKey has been transformed by the JSON decoder item_object_hook to no longer be in the format required by Layer1. This results in an exception like this:

DynamoDBResponseError: DynamoDBResponseError: 400 Bad Request
{u'Message': u'Expected null', u'__type': u'com.amazon.coral.service#SerializationException'}