Conditional Writes DynamoDB: Expected params.ExpressionAttributeValues[‘:p’] to be a structure


I’m trying to update my DynamoDB table using a conditional write, after read the official doc ( I’m getting an error, I think this is a Syntax error, but I’m not sure, this is my code:

This run ‘fine’ by I get this error:

I check if the json is valid and I was reading about ExpressionAttributeValues here ( but I don’t get info to resolve my problem.


Per the documentation, change this:


Leave a Reply