An error has occurred
-
Hello yesterday I had the same concern as here : https://www.ads-software.com/support/topic/whoops-looks-like-something-went-wrong-2/
Today I wanted to try to log in and new error message. Here is a screenshot.
https://i.postimg.cc/wjKqdxwf/Capture-d-cran-2022-02-17-102439.jpg</img>
Thank you for your help
-
This topic was modified 3 years ago by
yingfeu.
-
This topic was modified 3 years ago by
-
Hello @yingfeu
While this error can occur for a few different reasons, the most common seems to be in relation to Facebook’s supported currencies.
If your WooCommerce default currency is not on this list, some folks have had success temporarily changing their currency to a supported one (USD, CAD, GBP, EUR) to connect and then changing it back afterward.
We mentioned it in the docs here: https://docs.woocommerce.com/document/facebook-for-woocommerce/#oops-something-went-wrong-error
Share updates if that helped or if it did not fix your problem.
@dsvwilson Thank you for your help.
My currency is in euro so it should work. I still tried with the Dollar but i have the same error.
I specify that yesterday I carried out the solutions of this post https://www.ads-software.com/support/topic/whoops-looks-like-something-went-wrong-2/
Like manually removing some function from wc_facebook_. Because I had another error message.Also experiencing this issue.
Tried to resolve it with the solution above.
Any help would be greatly appreciated.
Hello @yingfeu
Thanks for reporting back.
Do you have any error logs in WooCommerce? Have you checked for one? Can you check and provide logs (if available) for today or for whatever day you last tried to connect? The error messages recorded in the logs will be beneficial towards understanding and resolving the issue you are currently facing on your site.
If logs are not available or not already enabled, go to Marketing > Facebook > Connection and select the optoon “Enable debug mode”, then try connecting again. Once done, try to connect again; if the error happens, go to WooCommerce > Status > Logs > Select the Facebook log under drop-down (right side) > Click – View button
@voelgoed Kindly create a new topic for your case so we can troubleshoot individually. You can create a new topic on this forum via this link. This allows us to share information and troubleshooting steps specific to your site if general solutions do not work.
@dsvwilson I don’t have the option “Enable debug mode”
https://snipboard.io/fWaDGP.jpgStrangely, the logs does not create any errors for February 17.
The last error I have is yesterday with the previous error message.
https://snipboard.io/2MgwiJ.jpg
https://snipboard.io/d6FIuO.jpgand another on February 15
https://snipboard.io/r9GsNJ.jpg
https://snipboard.io/pDCtkL.jpg@dsvwilson I have an error from the 17th now : 02-17-2022 @ 16:11:21 – Unable to detect valid feed configuration: No catalog ID
OK now I can pass the first steps of connection.
I now have the same problem as some with the message : Whoops, looks like something went wrong.the “Token exchange failed” seems the problem.
Today’s logs gives this :
02-18-2022 @ 16:34:42 - Failed to connect to Facebook. Reason: { "message": "This authorization code has been used.", "type": "OAuthException", "code": 100, "error_subcode": 36009, "fbtrace_id": "AdghmMbI8hs6zI8gElMB_Hr" } 02-18-2022 @ 16:39:41 - Failed to connect to Facebook. Reason: { "message": "This authorization code has been used.", "type": "OAuthException", "code": 100, "error_subcode": 36009, "fbtrace_id": "AQhvOyjkXr7HyeimVg2JXjE" } 02-18-2022 @ 16:47:29 - Failed to connect to Facebook. Reason: { "message": "This authorization code has been used.", "type": "OAuthException", "code": 100, "error_subcode": 36009, "fbtrace_id": "AcK-C2O6fYss85TvsUGfViX" }
This particular error shows that your user is currently ‘stuck’ inside Facebook itself – it is tied to your account via an App inside Facebook which refuses to ‘let it go’. Can you please try the following:
First, please go to Facebook and go through the following path:
Facebook Log in -> Settings -> Apps -> Logged in with Facebook -> Delete Your apps.
Delete the Facebook for WooCommerce connection here.
After this, go back into Marketing > Facebook if your plugin is still installed, and disconnect it on the General page. You can then reconnect it and it should work.
If it has not been uninstalled, and shows disconnected and still does not work after going through the Facebook steps above, please re-reference the forum post from Con regarding the areas you will need to re-clear before reconnecting: https://www.ads-software.com/support/topic/whoops-looks-like-something-went-wrong-2/#post-15371585
If you continue to have issues, please reply here and let us know!
@nathvi thank you for your solutions.
I did delete woocommerce : https://snipboard.io/F74kvT.jpg
But I still have the error message Whoops, looks like something went wrong. And the same error.
02-19-2022 @ 09:27:56 - Failed to connect to Facebook. Reason: { "message": "This authorization code has been used.", "type": "OAuthException", "code": 100, "error_subcode": 36009, "fbtrace_id": "AQDbrYssdLeERNitKyYwprZ" }
Then I deleted all the wc_facebook_ : https://snipboard.io/1jZtCu.jpg
And when I try to connect I click on the button : https://snipboard.io/sWyR61.jpg
And right after I have this : https://snipboard.io/Fp4RXo.jpgThere is no error in the logs.
Hi @yingfeu,
It sounds like you are trying to connect 2 sites to the same Facebook assets.
Please have a look at this thread and let me know if that is your case:
– https://www.ads-software.com/support/topic/failed-to-connect-to-facebook/#post-15385894
Keep us posted from this thread to organize the replies.
Thanks!
Hi @battouly,
No I don’t want to connect two sites.
In January I connected my site to facebook with facebook for woocommerce. But I realized I hadn’t connected the right pixel so I disconnected everything and when I wanted to reconnect it didn’t work anymore.
Hi @yingfeu,
Thanks for the clarification.
We need to take a look at your site’s WP-Admin area. Please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.
Please include a link to this forum thread, so that we can keep track of what’s already been done.
We will be able to help you further there.
Thanks.
Hi @sohanhossain,
Thank you for your recommendation, I will contact support.
Hi @yingfeu,
We pulled your ticket and will work with you from there, so we are going to close this thread. Have a super day!
- The topic ‘An error has occurred’ is closed to new replies.