i am programming in nodejs and i am trying to make an update request in dynamoDB that should execute only if a conditional expression validate to true. For that, I check if in the request body object (parsedBody) there is a key called crypto.
So, this is part of my code (docClient is an instance of AWS.dynamoDB...):
However, if I execute this code, I got this error here:
So, please, can someone explain to me what am I getting wrong here?
Cheers, Marcelo