You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally moto doesn't raise a validation error if an empty set is passed as an ExpressionAttributeValue either, whereas AWS does. Replacing the bad_update function with the following:
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the UpdateItem operation: ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An number set may not be empty for key :one
Testing with the following script:
I get this output:
Environment:
The text was updated successfully, but these errors were encountered: