Title: Oops, Cannot connect error
Last modified: October 29, 2020

---

# Oops, Cannot connect error

 *  Resolved [peteto2006](https://wordpress.org/support/users/peteto2006/)
 * (@peteto2006)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/oops-cannot-connect-error/)
 * Hi!
 * As many users here – I cannot finish the process, I always get error at the final
   step. I tried adding your snippet, but WordPress doesn’t want to save it in functions,
   it says there’s an error in the code, I quote:
    syntax error, unexpected ‘:’,
   expecting ‘;’
 * I cannot insert the snippet, I cannot finish the process with multiple sites (
   I have this error with more than 10 sites!) – I really find this frustrating.
   I know you’re doing your best, yet…

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

 *  [Steve](https://wordpress.org/support/users/skyvergesteve/)
 * (@skyvergesteve)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/oops-cannot-connect-error/#post-13602621)
 * Hey [@peteto2006](https://wordpress.org/support/users/peteto2006/)
 * Thanks for contacting us about Facebook for WooCommerce! I am happy to help out
   🙂
 * The snippet should work, but is generally used with a different connection error.
   With the Oops! error, it is most often due to a number of other issues. As you
   have more than 10 sites experiencing this, are there any commonalities that you
   can think of between all of them?
 * Just to make sure you have checked the most common causes of this issue, can 
   you please verify the following:
    - Your pixel, catalog, and Facebook extension must all be under the same Business
      Manager account.
    - Your site’s timezone setting must be set to something other than UTC+0 (WordPress
      > Settings > General)
    - Your site’s currency must be supported by Facebook. If it is not, temporarily
      switch to a supported currency and attempt to connect.
 * Can you please check that the above three items are all correct for your sites?
 * Cheers,
    Steve SkyVerge
 *  Thread Starter [peteto2006](https://wordpress.org/support/users/peteto2006/)
 * (@peteto2006)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/oops-cannot-connect-error/#post-13604492)
 * Thank you very much, Steve! It was the currency problem! I guess it’s not supported,
   I temporary changed it and it connected.
 * But now I receive this error:
    Something went wrong when connecting to Facebook!
   With WooCommerce logo on top 🙂
    -  This reply was modified 5 years, 5 months ago by [peteto2006](https://wordpress.org/support/users/peteto2006/).
 *  [Steve](https://wordpress.org/support/users/skyvergesteve/)
 * (@skyvergesteve)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/oops-cannot-connect-error/#post-13611218)
 * Hey [@peteto2006](https://wordpress.org/support/users/peteto2006/)
 * Glad that we at least made some progress on this 🙂
 * For this connection issue, we have a snippet that will give us some additional
   error information, which may give us a better indication as to what might be 
   happening here. Can you please add the following snippet to your site and attempt
   to connect to Facebook again? If you aren’t familiar with adding custom code 
   to your site, here is some information as to how to do it. Personally, I like
   the free Code Snippets plugin method.
 * You can view the snippet here:
 * `add_filter( 'wc_facebook_connection_proxy_url', function() { return 'https://
   wc-connect-test.skyverge.com/auth/facebook/';} );`
 * Once the snippet is in place and you have had a chance to try to connect to Facebook
   again, would you please send a screenshot or text of any additional error messages
   that show?
 * Cheers,
    Steve SkyVerge
 *  [Steve](https://wordpress.org/support/users/skyvergesteve/)
 * (@skyvergesteve)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/oops-cannot-connect-error/#post-13638820)
 * Hey [@peteto2006](https://wordpress.org/support/users/peteto2006/) ,
 * It has been a while since we heard from you, so I’m going to mark this topic 
   as resolved. If you’re still experiencing issues please [take a look at our documentation](https://docs.woocommerce.com/document/facebook-for-woocommerce/)
   for more information and [create a new thread](https://wordpress.org/support/plugin/facebook-for-woocommerce/#new-topic-0)
   if you have further questions.
 * Cheers,
    Steve SkyVerge

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

The topic ‘Oops, Cannot connect error’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Steve](https://wordpress.org/support/users/skyvergesteve/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/oops-cannot-connect-error/#post-13638820)
 * Status: resolved