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