How to fix TransactionCanceledException: Transaction cancelled in DynamoDB | DevErrors