Error:
Query operation: Invalid ProjectionExpression: Attribute name is a reserved keyword; reserved keyword: Name
Solved:
Mapping it by "ExpressionAttributeNames".
result = table.query(ProjectionExpression="#Name",
ExpressionAttributeNames={ "#Name": "Name" })
Note:
Situation : "Name" attribute of my dynamoDB table conflict to the AWS reserved keyword.
Leave a Reply