Title: Error Unauthorized
Last modified: July 12, 2021

---

# Error Unauthorized

 *  Resolved [Marc Lara](https://wordpress.org/support/users/marklb98/)
 * (@marklb98)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-unauthorized/)
 * I can’t set up google account, into logs section the only thing that appears 
   is that:
 * 2021-07-12T10:38:16+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\API\
   Google\MerchantReport::get_report_data {“statusCode”:401,”error”:”Unauthorized”,”
   message”:”Site is not connected to Google account for google-mc”}
 * What can i do?

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

 *  Plugin Support [stephjacq a11n](https://wordpress.org/support/users/stephjacq/)
 * (@stephjacq)
 * Automattic Happiness Engineer
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-unauthorized/#post-14653024)
 * Hi [@marklb98](https://wordpress.org/support/users/marklb98/),
 * Sorry to hear about the trouble. The error indicates that the Google Merchant
   Center account is not connected.
 * You mentioned you’re unable to set up the account – do you see an error on the
   front-end when you try?
 * Please try setting up the account directly from Google:
    [https://www.google.com/retail/solutions/merchant-center/](https://www.google.com/retail/solutions/merchant-center/)
 * Once you’ve done that, try connecting the existing account to your site.
 *  Thread Starter [Marc Lara](https://wordpress.org/support/users/marklb98/)
 * (@marklb98)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-unauthorized/#post-14654241)
 * The only thing that i can see i this:
 * > [View post on imgur.com](https://imgur.com/x89sk0A)
 *  Plugin Support [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * (@stuartduff)
 * Automattic Happiness Engineer
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-unauthorized/#post-14654986)
 * Hi [@marklb98](https://wordpress.org/support/users/marklb98/),
 * Could you confirm if you tried what [@stephjacq](https://wordpress.org/support/users/stephjacq/)
   suggested of setting up the Merchant Account on Google and then trying to connect?
 * If you navigate to **WooCommerce > Status > Logs** on your site do you see any
   log files generated by the Google Listing & Ads plugin? If there are some log
   files what do the contents of those include and could you share the contents 
   of those with us?
 * Also on your site if you deactivate all plugins leaving only WooCommerce along
   with Google Listing & Ads as the only two activated plugins does the connection
   behaviour still persist?
 * Thanks
 *  Thread Starter [Marc Lara](https://wordpress.org/support/users/marklb98/)
 * (@marklb98)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-unauthorized/#post-14655089)
 * I tried what [@stuartduff](https://wordpress.org/support/users/stuartduff/) has
   suggested, but nothing happens, also disabled all non Woocommerce plugins, but
   it is exactly the same
 * This is what I can see inside Legs
 * > [View post on imgur.com](https://imgur.com/KIfPsxt)
 *  Plugin Support [melinda a11n](https://wordpress.org/support/users/melindahelt/)
 * (@melindahelt)
 * Automattic Happiness Engineer
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-unauthorized/#post-14655527)
 * Hi there!
 * Thanks for sharing the log. Could you confirm that you have followed these suggestions:
 * > `You mentioned you’re unable to set up the account – do you see an error on
   > the front-end when you try?
   > Please try setting up the account directly from Google:
   >  [https://www.google.com/retail/solutions/merchant-center/](https://www.google.com/retail/solutions/merchant-center/)
   > Once you’ve done that, try connecting the existing account to your site.`
 *  Plugin Support [Augustus – a11n](https://wordpress.org/support/users/augustuswp/)
 * (@augustuswp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-unauthorized/#post-14704171)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   we’ll be here if and/or when you are ready to continue.

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

The topic ‘Error Unauthorized’ is closed to new replies.

 * ![](https://ps.w.org/google-listings-and-ads/assets/icon.svg?rev=2775988)
 * [Google for WooCommerce](https://wordpress.org/plugins/google-listings-and-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-listings-and-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-listings-and-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/google-listings-and-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-listings-and-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-listings-and-ads/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [Augustus – a11n](https://wordpress.org/support/users/augustuswp/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/error-unauthorized/#post-14704171)
 * Status: resolved