I have a lambda function which is updating data in DynamoDB table(Based on specific user properties I want to change some values for that user.). When It gets executed first time then it doesn't work, but on second execution it updates the data. It works alternatively. one time it updates and one time it doesn't. What could be the reason for this.
Based on specific user properties I want to change some values for that user.