#Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>)

10 messages · Page 1 of 1 (latest)

solid hare

Because I'm lost on how that code could throw the error

half narwhal

I am too, because when I comment out that specific part, it runs smoothly

Lemme try to run it without the subabout and see what happens

Yea, its running without a hitch

So something about the subabout var is causing this error

solid hare

It's not the variable, the body of the response is in html while the link itself displays a json online. I'm not sure why this is happening and can't help further

half narwhal

Damn...

Well thanks man I appreciate it

west wagon

you're missing a user-agent header