Title: Error Bad Request: Missing parameter: &#8216;code&#8217;
Last modified: May 8, 2022

---

# Error Bad Request: Missing parameter: ‘code’

 *  Resolved [JohnJay](https://wordpress.org/support/users/jjacoberger/)
 * (@jjacoberger)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/)
 * When setting up Site Kit, I click on **SIGN IN WITH GOOGLE** I choose the account
   to connect with and then when I click Continue on the screen saying **Site Kit
   wants additional access to your Google Account** I get the same
    Error: Bad Request:
   Missing parameter: ‘code’ message that other users have reported and I don’t 
   get connected to the account.
 * I have tried the Health Check & Troubleshooting, and I’ve tried using a default
   theme and the error persists.
 * > [View post on imgur.com](https://imgur.com/yMfad6N)
    -  This topic was modified 4 years, 1 month ago by [JohnJay](https://wordpress.org/support/users/jjacoberger/).
    -  This topic was modified 4 years, 1 month ago by [JohnJay](https://wordpress.org/support/users/jjacoberger/).
    -  This topic was modified 4 years, 1 month ago by [JohnJay](https://wordpress.org/support/users/jjacoberger/).
    -  This topic was modified 4 years, 1 month ago by [JohnJay](https://wordpress.org/support/users/jjacoberger/).

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

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15627775)
 * Hi there [@jjacoberger](https://wordpress.org/support/users/jjacoberger/),
 * Thanks for reaching out, and also sharing details of the troubleshooting efforts
   you’ve undertaken. As we’re currently investigating reports of this it would 
   be great if you could share the following:
    1. Your [Site Health information](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/edit).
       Within the form please include your current hosting provider.
    2. When checking the Site Kit dashboards from a Chrome browser [incognito window](https://i.imgur.com/ALzgiHp.png)
       do you see any browser [console errors](https://imgur.com/KyLAzgH.png) on the
       same screen where this notice appears? If so please share any such errors.
    3. Would it be possible for you to share a screen recording of your experience 
       setting up the plugin, that shows your full experience? You can use a service
       such as [Loom](https://loom.com) or [RecordIt](https://recordit.co) to share.
       Feel free to include this in the above Site Health information form.
 * Let me know if you have any questions with the above. Once we have this information
   we can investigate this further or provide you with some troubleshooting suggestions,
   which may include attempting setup from another site on the same hosting platform
   or using another Google account to attempt setup.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15627939)
 * [@jjacoberger](https://wordpress.org/support/users/jjacoberger/) Out of curiosity
   are you using a specific browser to attempt setup? If so please check does the
   same occur from a Chrome browser.
 *  Thread Starter [JohnJay](https://wordpress.org/support/users/jjacoberger/)
 * (@jjacoberger)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15628345)
 * I completed your form as requested. I received the same error using Chrome, Edge
   and Brave.
 * I was finally able to complete the setup using Firefox in Incognito mode.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15628464)
 * Many thanks for sharing, and glad to hear you’ve been able to successfully connect
   using Firefox. I’ve checked your details and as nothing stands out I suspect 
   this may be browser specific. By any change do you have other WordPress sites
   where you can check for the same setup experience with, using the Brave and then
   Chrome browser?
 *  Thread Starter [JohnJay](https://wordpress.org/support/users/jjacoberger/)
 * (@jjacoberger)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15628474)
 * Yes, I have several other sites – I can try them later on this afternoon and 
   let you know what happens.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15628480)
 * That would be great, thank you! We’re curious to know if the same always occurs
   with the Brave browser while then on the same sites does the same occur when 
   switching to Chrome in particular.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15650380)
 * [@jjacoberger](https://wordpress.org/support/users/jjacoberger/) Just following
   up with you to check whether you’ve had an opportunity to check your other sites
   for the same error?
 *  Thread Starter [JohnJay](https://wordpress.org/support/users/jjacoberger/)
 * (@jjacoberger)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15650506)
 * I actually finally did last evening – sorry for the delay but serious life events
   interfered.
 * On the first site:
    - I was using the Brave Browser
    - I entered the Google account and password to connect
    - I agreed to continue granting access to the account
    - I received the error
    - I logged into the site Admin Dashboard again using Chrome
    - I followed all prompts to connect to the Google account
    - I received the error again
    - I logged into the site using Firefox
    - I followed all the prompts enter login credential and connect to the Google
      account
    - I connected Site Kit successfully with Firefox
    - On the second site:
    - Site Kit had been connected to a Google Account so I disconnected it and reset
      Site Kit
    - Trying to reconnect, I went through all the same steps with the same experience
      as on the first site
    - On the third site:
    - Using the Brave browser, I was able to Connect Site Kit with a Google account
      successfully the first time I tried.
    - Interestingly, the first and third sites, where one was successful on the 
      first try and the other was not, are exact duplicates of each other hosted
      by the same company.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15652475)
 * Many thanks for the update, and no problem about the delay. I hope all is well
   regarding your reasoning.
 * In relation to the first and third sites there is a particular configuration 
   within the Brave browser which we’ve been able to recreate the same error message
   with when enabled ([_Shields > Look and feel > Auto-redirect AMP pages_](https://imgur.com/GzFXu4z)).
   I wonder did you have this enabled at any stage. I can’t be sure why the results
   were inconsistent, however, it’s possible this configuration may not always trigger
   or detect AMP URLs.
 * On the second site do you recall whether you were using the Brave browser when
   you encountered this error? If so please share whether you were able to successfully
   connect when switching to Chrome.
 *  Thread Starter [JohnJay](https://wordpress.org/support/users/jjacoberger/)
 * (@jjacoberger)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15652678)
 * Yes, on the second site, I received the error using brave. After I got the error
   with Brave, I switched to Chrome and got the same error. I connected on the third
   attempt with Firefox.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15656155)
 * Many thanks for the update. I’ll add your notes to the [related GitHub issue](https://github.com/google/site-kit-wp/issues/5191),
   where we’ve been adding details on this error, which other users also reported.
 * While I’ll close this support topic now given you’re successfully connected please
   inform me if you have any AMP related Chrome browser extensions active, such 
   as the [Redirect AMP to HTML extension](https://chrome.google.com/webstore/detail/redirect-amp-to-html/kifkmmpiicbcnkjaliilaoeaojlldonl/related?hl=en-GB).
 * I ask as the error you’re encounter is something we’ve been able to recreate 
   using such extensions, or browser related configurations regarding AMP.
 *  Thread Starter [JohnJay](https://wordpress.org/support/users/jjacoberger/)
 * (@jjacoberger)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15656300)
 * I do not have any AMP extensions installed or active.

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

The topic ‘Error Bad Request: Missing parameter: ‘code’’ 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/)

 * 12 replies
 * 2 participants
 * Last reply from: [JohnJay](https://wordpress.org/support/users/jjacoberger/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/error-bad-request-missing-parameter-code-2/#post-15656300)
 * Status: resolved