title: AWS sdk dynamodb scan not working with code but its working in DynamoDb UI of aws console
body: <pre><code>   var param = { TableName: 'events-dev', 
  FilterExpression: '#user_id = :userid AND #dt BETWEEN :dt AND :dt1',
  ExpressionAttributeNames: { '#user_id': 'user_id', '#dt': 'updatedAt'},
  ExpressionAttributeValues: {':userid': 'fc0c6610-e17f-444e-887a-e556f9d17853',':dt': '2021-12-01',':dt1': '2021-12-02'}}
  
  dynamoDb.scan(params, (error, data) =&gt; {           
  if (!error) { 
  console.log('data==', data.Items)});
  result: []
  </code></pre>
  <p>But i got response when search it in the aws console</p>
  <p><a href="https://i.stack.imgur.com/Aiimu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Aiimu.png" alt="Result after searching in UI" /></a></p>