SyntaxError: JSON.parse on /wp-json/wp/v2/
-
When I go to the website’s url: /wp-json/wp/v2/, I get this error:
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 216302 of the JSON dataThis url used to list all the routes and endpoints. Now it’s giving me this error.
However, when I send a GET request to this url via the API, it shows me the list of endpoints without any issue.
Why is this showing the JSON error when I try to view it directly?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘SyntaxError: JSON.parse on /wp-json/wp/v2/’ is closed to new replies.