Title: Error when setting up the plugin
Last modified: December 27, 2019

---

# Error when setting up the plugin

 *  Resolved [ek4v3nice](https://wordpress.org/support/users/ek4v3nice/)
 * (@ek4v3nice)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-when-setting-up-the-plugin/)
 * Hi,
    I successfully installed and activated the plugin, when I have to sign in
   in Google to grant all permissions it works until I get redirected to my WP site
   dashboard and there’s an error code: “Unable to receive access token because 
   of an invalid OAuth request.”
 * Steps to reproduce the behaviour (in my case):
 * Go to Dashboard
    Click on Left Menu “Site Kit” Click on Left Menu “Sign in with
   Google” Select user, ok Consent permissions Allow -Error appears on WP Dashboard-
 * Expected behavior:
    Would like to see the Site Kit Dashboard
 * The WordPress Address and Site Address (URL): [https://www.talkdistrict.com](https://www.talkdistrict.com)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-setting-up-the-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * (@reneesoffice)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-when-setting-up-the-plugin/#post-12274487)
 * [@ek4v3nice](https://wordpress.org/support/users/ek4v3nice/) thanks for opening
   a topic and for the detailed steps.
 * Could you check with your host if they have any security measures implemented
   at the server level? For example, ModSecurity has been reported as affecting 
   the setup process. If so, are you able to temporarily disable these measures 
   just during setup to see if that helps? Thank you!
 *  [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * (@reneesoffice)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-when-setting-up-the-plugin/#post-12281279)
 * [@ek4v3nice](https://wordpress.org/support/users/ek4v3nice/) we’ve made some 
   updates to address the issue. Could you try the setup process again and let us
   know if it is resolved for you?
 *  Thread Starter [ek4v3nice](https://wordpress.org/support/users/ek4v3nice/)
 * (@ek4v3nice)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-when-setting-up-the-plugin/#post-12283294)
 * It works now, thank you!
 *  [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * (@reneesoffice)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-when-setting-up-the-plugin/#post-12286977)
 * [@ek4v3nice](https://wordpress.org/support/users/ek4v3nice/) glad to hear it 
   is resolved! Please consider [leaving a review](https://wordpress.org/support/plugin/google-site-kit/reviews/)
   about your experience with Site Kit.

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

The topic ‘Error when setting up the plugin’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/error-when-setting-up-the-plugin/#post-12286977)
 * Status: resolved