error fetching data: SyntaxError: Unexpected token < in JSON at position 0 code example
Example: fetch SyntaxError: Unexpected token < in JSON at position 0
JSON.parse(theStringThatIsNotJson);
JSON.parse(theStringThatIsNotJson);