I have a site that needs to load some images from Instagram. I'm using Fetch to make the request to Instagram's API. The request is successful but I get this error when processing the request, error SyntaxError: Unexpected end of input
.
The request comes back as 200 and with valid JSON. It seems like once the Fetch response completes the response is empty thus resulting in the SyntaxError.
http://jsbin.com/kohito/edit?html,js,console
I removed my access token from the example.