DEV Community

Discussion on: I can't find where is error . SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Collapse
 
blindfish3 profile image
Ben Calder

As others have said: the answer will be found by inspecting the response. It could be that you're actually receiving HTML - sometimes you see this when the request URL is blocked or you've passed invalid parameters...