How to fix ValidationException: One or more parameter values were invalid in DynamoDB | DevErrors