1. Ludia
  2. Untitled project
  3. dynamodb-mock
Issue #13 resolved

ValidationException thrown on legitimate Scan

Michael Hart
created an issue

I have a table with a HashKey of {'N': 'id'} and no RangeKey

If I do a Scan on the latest ddbmock with

ScanFilter: { id: { ComparisonOperator: 'NE', AttributeValueList: [ { N: '0' } ] } } }

I get the following:

2013-04-06 18:42:58,230 ERROR [Request logger][Dummy-3] request_id=1175 action=Scan exception=ValidationException body=('[InvalidList(), Invalid("required keys set([u\'AttributesToGet\', u\'TableName\', u\'ScanFilter\', u\'Count\', u\'ExclusiveStartKey\', u\'Limit\', \'request_id\']) not provided",), Invalid("required keys set([u\'AttributesToGet\', u\'TableName\', u\'ScanFilter\', u\'Count\', u\'ExclusiveStartKey\', u\'Limit\', \'request_id\']) not provided",)]',)

This Scan works fine on DynamoDB proper.

Comments (2)

  1. Log in to comment