title: The IN operator is provided with too many operands; number of operands: 119 dynamodb
body: <p>Try to use IN operation in dynamodb but get following error. Could anyone help me with alternative solution ?</p>
  
  <p>var params = {</p>
  
  <pre><code>TableName : "table_name",
  FilterExpression : "id IN ("+Object.keys(profileIdObject).toString()+ ")",
  ExpressionAttributeValues : profileIdObject
  </code></pre>
  
  <p>};</p>
  
  <p>ERROR :: 
  {</p>
  
  <pre><code>  "message": "Invalid FilterExpression: The IN operator is provided with too many operands; number of operands: 119",
    "code": "ValidationException",
    "time": "2018-02-13T08:48:02.597Z",
    "statusCode": 400,
    "retryable": false,
    "retryDelay": 25.08276239472692
  </code></pre>
  
  <p>}</p>