I am trying to update an item in DynamoDB table:
var params = { TableName: \'User\', Key: { id: \'b6cc8100-74e4-11e6-8e52-bbcb90cbdd26\',
Please change the update expression as mentioned below. It should work.
There is no comma between second ":inc" and SET.
UpdateExpression : "ADD past_visits :inc, past_chats :inc SET reset_time = :value",