DynamoDB : The provided key element does not match the schema
To query on fields which are not the hash key you need to use a Global Secondary Index (GSI). Take a look at this AWS Post for more details on GSI’s. UPDATE Feb 2015: It is now possible to add a GSI to an existing table. See the Amazon Docs for more details. Sadly you cannot add a GSI to an … Read more