Title: JSon error
Last modified: June 18, 2020

---

# JSon error

 *  Resolved [alimhamdy](https://wordpress.org/support/users/alimhamdy/)
 * (@alimhamdy)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/)
 * after installation of site kit
 * i have this error all inside the kit
 * Error: The response is not a valid JSON response.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13003938)
 * [@alimhamdy](https://wordpress.org/support/users/alimhamdy/) Thanks for creating
   a new support topic, hopefully we can assist. From looking at your sites source
   code you may be performing a [https redirect](https://tinyurl.com/y7fycl53) using
   JavaScript within your header.
 * While I can’t say for sure whether this is the cause of this issue I noticed 
   you’re already using an SSL plugin. Can you try and remove any JavaScript redirect
   snippet and use the plugin or hosting providers redirection option instead before
   checking once more?
 * If the above fails please inform us of at what stage you see this error. (ie.
   Does it occur when you access the Site Kit primary dashboard with just the search
   console active or when you try to connect another module?)
 *  Thread Starter [alimhamdy](https://wordpress.org/support/users/alimhamdy/)
 * (@alimhamdy)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13004008)
 * i removed the redirection for java inside the plugin
    same i have dashboard error
   1-Search Console data is not yet available, please check back later. 2-analytics
   Error: The response is not a valid JSON response. 3- speed check and all loading
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13004198)
 * [@alimhamdy](https://wordpress.org/support/users/alimhamdy/) Thanks for the update.
   The Search Console notice is just to inform you of the status. Give it a few 
   days and I suspect it will display data fine.
 * In relation to your Analytics error there may be local software or hosting configurations
   impacting reporting, similar to what you’ll find on [this](https://github.com/google/site-kit-wp/issues/1412)
   GitHub issue.
 * In order to troubleshoot further can you share any [XHR responses](https://i.imgur.com/jLBwBdH.png)
   on the screen whereby you encounter that notice?
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13004203)
 * * Duplicate
    -  This reply was modified 5 years, 9 months ago by [James Osborne](https://wordpress.org/support/users/jamesosborne/).
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13004213)
 * * Duplicate
    -  This reply was modified 5 years, 9 months ago by [James Osborne](https://wordpress.org/support/users/jamesosborne/).
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13004266)
 * * Duplicate
    -  This reply was modified 5 years, 9 months ago by [James Osborne](https://wordpress.org/support/users/jamesosborne/).
 *  Thread Starter [alimhamdy](https://wordpress.org/support/users/alimhamdy/)
 * (@alimhamdy)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13004296)
 * Its all about the kit authorization.
 * I get from the developers menu at chrome
 * It gave api kit error invalid js
 * And server loaing error 403
 * So if i need to isert their code inside my home page.
    How can i locate it in
   ftp to edit.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13004969)
 * [@alimhamdy](https://wordpress.org/support/users/alimhamdy/) Thanks for the update.
   As you’re encountering a 403 error can you attempt the following troubleshooting
   steps:
    1. Try resetting Analytics and connect once more from another device (
   There may be a local firewall or software impacting setup) 2. Check with your
   hosting provider to see if there is a Web Application Firewall or white of services?
   The plugin needs to be able to connect to `https://sitekit.withgoogle.com`
 * If you’ve checked the above can you provide a screenshot of the 403 error you
   encounter, or copy and paste any XHR response here?
 *  Thread Starter [alimhamdy](https://wordpress.org/support/users/alimhamdy/)
 * (@alimhamdy)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13005241)
 * All finished easily with another solution.
    Modified the permissions for ftp 
   files i dun known if this useful But the main was add the meta tag to the header
   script all worked properly but still only the search console to be activated 
   from google side
 * Thanks for your help
    Its all about the meta tag in the header
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13005265)
 * [@alimhamdy](https://wordpress.org/support/users/alimhamdy/) Many thanks for 
   the update, I’m sure this will also be useful for others impacted by the same
   issue.
 * Be sure to leave the plugin [a review](https://wordpress.org/support/plugin/google-site-kit/reviews/#new-post)
   once you get to test out the various dashboards and functionality.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘JSon error’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/json-error-27/#post-13005265)
 * Status: resolved