title: React - Unexpected token u in JSON at position 5
body: <p>I'm retrieving  data from s3 , I have set the content type as &quot;application/json&quot; for the file. The call is successful.
  In the <code>network --&gt; response</code> tab i see data as</p>
  <pre><code>{
    user: &quot;test&quot;
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/PSrWK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PSrWK.png" alt="enter image description here" /></a></p>
  <p>When i call the response.json() , I am getting below Error</p>
  <pre><code>index.js:1 SyntaxError: Unexpected token u in JSON at position 5
  </code></pre>