Title: Error code : Can&#8217;t get the user ID
Last modified: November 24, 2025

---

# Error code : Can’t get the user ID

 *  Resolved [guillaumeagnc](https://wordpress.org/support/users/guillaumeagnc/)
 * (@guillaumeagnc)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-code-cant-get-the-user-id/)
 * Hello,
 * I’m having a strange issue with Google Site Kit. Site Kit has been working fine
   for months.
 * Today, I was on my site in Site Kit, logged into a Google account that has no
   connection to the site itself (without anyone doing anything). I disconnected
   it, and since then, I haven’t been able to reconnect. It displays “Error connecting
   Site Kit,” “Unknown error (code: Can’t get the user ID),” and I can’t do anything
   about it. How can I fix this problem?

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

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-code-cant-get-the-user-id/#post-18730224)
 * Hi there [@guillaumeagnc](https://wordpress.org/support/users/guillaumeagnc/),
   thanks for reaching out and sorry to hear you’ve recently encountered this issue.
   I’d be happy to help with this. Please could I ask you to first try performing
   a [Site Kit reset](https://sitekit.withgoogle.com/documentation/using-site-kit/reset/)?
   Once you have reset, you will need to set the plugin back up and sign in with
   your Google account. After doing this, do you encounter the same issue?
 * If you continue to face this issue then please can you share your [Site Health information](https://i.imgur.com/Rtkmsba.png).
   You can [use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
   to share privately if preferred. I can review the information to see if anything
   stands out and suggest some more steps should the reset not resolve the issue.
 *  [Oxford Metadata Ltd](https://wordpress.org/support/users/oxfordmetadata/)
 * (@oxfordmetadata)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-code-cant-get-the-user-id/#post-18731948)
 * Similar error here. 
   Tried and tried again the reset. even uninstalled the plugin,
   cleaned up transients etc. but to no avail. The issue maybe has to do server 
   side with the fact that we deleted an account/property for an old domain of the
   same site. Can find out what else can be wrong. Somehow, even though there is
   a clean install in the new domain, it says that it recognises us etc. Which obviously
   is errorneous. It detects “something” from the old account/property that is now
   on trash, thus preventing creating a new property!
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-code-cant-get-the-user-id/#post-18732060)
 * [@oxfordmetadata](https://wordpress.org/support/users/oxfordmetadata/) Thanks
   for adding your comment here. Please could I ask you to [open a new support topic](https://wordpress.org/support/plugin/google-site-kit/#new-topic-0)
   where we can assist you with this individually. Please share the same information
   as here along with your [Site Health information](https://i.imgur.com/Rtkmsba.png).
   You can [use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
   to share privately if preferred. Thanks!
    -  This reply was modified 6 months, 2 weeks ago by [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/).
 *  [Oxford Metadata Ltd](https://wordpress.org/support/users/oxfordmetadata/)
 * (@oxfordmetadata)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-code-cant-get-the-user-id/#post-18732147)
 * I just tried to replicate the issue I noticed that the issue has been fixed.
   
   So I take it was on the server side, possibly due to time constraints
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-code-cant-get-the-user-id/#post-18732155)
 * [@oxfordmetadata](https://wordpress.org/support/users/oxfordmetadata/) Understood,
   thanks for sharing the update and glad to hear it’s now resolved for you.

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

The topic ‘Error code : Can’t get the user ID’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-code-cant-get-the-user-id/#post-18732155)
 * Status: resolved