• Resolved Steven

    (@shyzer)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Renee Johnson

    (@reneesoffice)

    @shyzer thanks so much for sharing your experience in the forums! Hopefully it will help other folks in some cases experiencing the same issues. We’re working on investigating why it occurs in some cases and not others, so your feedback is very valuable.

    Plugin Support James Osborne

    (@jamesosborne)

    @shyzer As of the latest version of the plugin there is no longer a dependency on the WordPress REST API, which will also assist users (along with your instances), without having to make modifications to your privacy policy. Thanks again for your input, very useful.

    Thread Starter Steven

    (@shyzer)

    Awesome, thanks for the updates and I’m happy I was able to help a little!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How I solved the JSON Error: Unable to authenticate error’ is closed to new replies.