Fixing 'There was an error loading Google account info' in Google for WooCommerce
Content
One of the most common errors users encounter when setting up the Google for WooCommerce plugin is the frustrating "There was an error loading Google account info" message. This error can prevent you from connecting your store to Google Merchant Center and listing your products. Based on community reports and error logs, this issue typically stems from a few specific causes.
Common Causes of the Connection Error
Analysis of support threads reveals several patterns behind this error:
- SSL Certificate Issues: The most frequent cause, where your server cannot verify the SSL certificate used by the WooCommerce API (
api-vipgo.woocommerce.comorapi.woocommerce.com). Error logs often showcURL error 60with messages like "SSL certificate problem: certificate has expired" or "unable to get local issuer certificate". - Invalid or Expired Tokens: Authentication tokens can become invalid, leading to
401 Unauthorizederrors in the logs. - Plugin Conflicts: Sometimes, other plugins or your theme can interfere with the connection process.
- Incomplete Connection State: A previous connection attempt may have left the plugin in an inconsistent state.
Step-by-Step Troubleshooting Guide
Solution 1: Address SSL Certificate Problems (Most Common Fix)
If your error log contains cURL error 60, the issue is likely with your server's ability to verify SSL certificates.
- Contact Your Hosting Provider: This is the most effective step. Ask them to ensure their server trusts the ISRG Root X1 certificate. This is a known requirement for modern SSL certificates.
- Update Server Certificates: Request that your host updates their certificate bundle (often
ca-certificates.crt). - Verify Your Site's SSL: Ensure your own website's SSL certificate is valid and not expired. You can check this by visiting your site and looking for a padlock icon in the browser's address bar.
Solution 2: Perform a Full Plugin Reset
If the connection is in a bad state, a complete reset can help.
- Go to your WordPress admin area.
- Navigate to the hidden connection test page by visiting:
https://YOURSITE.com/wp-admin/admin.php?page=connection-test-admin-page(replace YOURSITE.com with your domain). - On this page, look for the Merchant Center section.
- Click the button to Disconnect your Google account.
- Also, go to Marketing > Google Listings & Ads and disconnect from WordPress.com if necessary.
- Clear any cached data from your caching plugins.
- Start the setup process again from the beginning.
Solution 3: Conflict Test
To rule out conflicts with other plugins or your theme:
- Temporarily switch your theme to a default WordPress theme like Storefront.
- Deactivate all plugins except for WooCommerce and Google Listings and Ads.
- Attempt to connect your Google account again.
- If it works, reactivate your plugins and theme one by one, testing the connection after each, to identify the culprit.
Solution 4: Check for Known Issues and Updates
Occasionally, specific version updates of the plugin can introduce bugs.
- Ensure you are running the latest version of the Google Listings and Ads plugin.
- Check the official GitHub repository for the plugin to see if your issue matches an open bug report. For example, a
400 Bad Requesterror with the message "Unable to retrieve merchant accounts" was a known issue tracked in a GitHub thread.
Need More Help?
If none of these solutions work, gathering more information can help the community assist you further. When seeking help, be prepared to share the exact error logs from WooCommerce > Status > Logs (select the latest google-listings-and-ads log file). This provides crucial clues for diagnosing the problem.
Related Support Threads Support
-
There was an error loading Google account infohttps://wordpress.org/support/topic/there-was-an-error-loading-google-account-info/
-
cant connect google account.https://wordpress.org/support/topic/cant-connect-google-account-3/
-
Error with update to 1.13.0https://wordpress.org/support/topic/error-with-update-to-1-13-0/
-
Unable to setuphttps://wordpress.org/support/topic/unable-to-setup-2/
-
Settings page loads for infinityhttps://wordpress.org/support/topic/settings-page-loads-for-infinity/
-
How to start over with this plugin?https://wordpress.org/support/topic/how-to-start-over-with-this-plugin/
-
There was an error loading Google account info.https://wordpress.org/support/topic/there-was-an-error-loading-google-account-info-5/
-
Can’t configure pluginhttps://wordpress.org/support/topic/cant-configure-plugin-4/
-
there was an error loading google account info.https://wordpress.org/support/topic/there-was-an-error-loading-google-account-info-6/
-
Google Listings Plugin doesn’t loadhttps://wordpress.org/support/topic/google-listings-plugin-doesnt-load/
-
Problème de connexionhttps://wordpress.org/support/topic/probleme-de-connexion-2/
-
There was an error loading Google account infohttps://wordpress.org/support/topic/there-was-an-error-loading-google-account-info-3/
-
Google Listings Setup Errorhttps://wordpress.org/support/topic/google-listings-setup-error/