-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamodb missing error with ADD empty set #7595
Comments
I found another similar issue: if an ExpressionAttributeValue is defined and not used, it errors in real aws, but not moto: Value provided in ExpressionAttributeValues unused in expressions: keys: {:variable} |
Hi @jasonrdunne, thanks for raising these! I'll open a PR to add validation for the first issue in a second. Do you have an example for the second issue? The following code does throw an error in Moto:
|
I also ran into a similar issue, analogue to the issue @jasonrdunne described. My update_item call looks like this:
And real AWS throws the error: while moto does not throw an error |
Thanks for letting us know @roehlc - the attached PR will add that validation to Moto. |
This error is caught by aws, but not with moto:
ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An number set may not be empty for key :deletedConversationIds
It's caused by an update like this:
The text was updated successfully, but these errors were encountered: