title: TypeError: string indices must be integers Work & Doesnt work
body: <p>I have been looping the the data, all of them are the same, the first loop works well but when it hits the 2nd loop, it receive that error. </p>
  
  <p>Any idea how I can debug this issue?</p>
  
  <p>I suspect the issue is on the item_id, do i convert it to string or is there any advice anyone could provide. It would be greatly appreciated</p>
  
  <pre><code>payload = {'item': r.json()['account']['item'],'item_id': loop['item_id']}
  </code></pre>
  
  <p>TypeError: string indices must be integers</p>
  
  <p>Thanks in advance!</p>