title: Error when doing a PUTITEM type: <class 'str'>, valid types: <class 'dict'>
body: <p>When doing a putitem to dynamo it is giving me the following error, the json I am reading from s3.
  this is the code</p>
  <pre><code>   dictItems = json.load(object_summary.get()['Body'])
     item2 =  {
                      &quot;ruc&quot; : dictItems['ruc'],
                      &quot;dni&quot; :dictItems['dni'],
                      &quot;number_operation&quot; :dictItems['number_operation'],
                      &quot;name&quot; :dictItems['name'],
                      &quot;address&quot; :dictItems['address'],
                      &quot;validation_date&quot; :dictItems['validation_date'],
                      &quot;directory&quot; :dictItems['directory'],
                      &quot;addresses&quot; :dictItems['addresses'],
                      &quot;representatives&quot;  :dictItems['representatives'],
                      &quot;sunat&quot;  :dictItems['sunat'],
                      &quot;debt&quot;  :dictItems['debt'],
                      &quot;bad_debtor_portfolio&quot; :dictItems['bad_debtor_portfolio'],
                      &quot;foreign_trade&quot; :dictItems['foreign_trade'],
                      &quot;legal_information&quot; :dictItems['legal_information'],
                      &quot;query_indicator&quot; :dictItems['query_indicator'],
                      &quot;claim_review&quot;: dictItems['claim_review']
                      }
      dynamodb = boto3.client('dynamodb')
      dynamodb.put_item(TableName='temporal', Item=item2)
  </code></pre>
  <p>this is the error</p>
  <blockquote>
  <p>Parameter validation failed: Invalid type for parameter Item.ruc,
  value: 789456123, type: &lt;class 'str'&gt;, valid types: &lt;class 'dict'&gt;
  Invalid type for parameter Item.dni, value: , type: &lt;class 'str'&gt;,
  valid types: &lt;class 'dict'&gt; Invalid type for parameter
  Item.number_operation, value: XXXXXXXXXX, type: &lt;class 'str'&gt;,
  valid types: &lt;class 'dict'&gt; Invalid type for parameter Item.name,
  value: THIS IS A STRING, type: &lt;class 'str'&gt;, valid types:
  &lt;class 'dict'&gt;</p>
  </blockquote>