aws-appsync-community icon indicating copy to clipboard operation
aws-appsync-community copied to clipboard

Error message needs more explanation "ExpressionAttributeValues must not be empty (Service: DynamoDb, Status Code: 400, Request ID: 6K2GA16P0H3MSBURE6P3J1QFBBVV4KQNSO5AEMVJF66Q9ASUAAJG, Extended Request ID: null)"

Open EvanErickson opened this issue 3 years ago • 1 comments

"ExpressionAttributeValues must not be empty (Service: DynamoDb, Status Code: 400, Request ID: 6K2GA16P0H3MSBURE6P3J1QFBBVV4KQNSO5AEMVJF66Q9ASUAAJG, Extended Request ID: null)"

EvanErickson avatar Aug 23 '21 21:08 EvanErickson

I looked all over for the solution, you need to add attributeType as well to your query or else it won't work.

The message, "expression attribute values" must not be empty is vague and I didn't fully understand it. No one explained this online and I searched docs for a while.

Can we add this to the docs if this isn't there already? That whenever you are searching for if an attribute type exists, you also need to provide the type to it.

EvanErickson avatar Aug 23 '21 21:08 EvanErickson