How I solved the JSON Error: Unable to authenticate error
-
Since so many people are still getting the the JSON error, even with version 1.10, I wanted to explain how I fixed it in my cases today.
I added Site Kit to 10 of my sites today and got the JSON error on 3 of them.
Unable to authenticate Site Kit. Check your client configuration is in the correct JSON format.
After some digging through the console, I noticed the REST API wasn’t working on all 3 sites. If I went to domain.com/wp-json/wp/v2/ I got a 404 instead of the expected return.
Finally, I realized I hadn’t set a default Privacy Policy on those 3 sites. After doing so under Settings -> Privacy, the REST API started working and the 404 vanished from domain.com/wp-json/wp/v2/
With that completed, the JSON connection error went away immediately.
This might not work for everybody, but wanted to pass it along.
- The topic ‘How I solved the JSON Error: Unable to authenticate error’ is closed to new replies.