-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to sync product catalog when sync is enabled (Graph API returns Unknown Error) #2627
Comments
Thanks for reaching out. I have tried connecting using a clean account, and I was able to perform all API operations (Sync on connection, manual sync, manual delete of a single product, and catalog delete using the tool ) without any errors. I looked at the Facebook documentation, and they say that "this error may occur if your access token is not added as a system user with appropriate permissions to the ad account that owns a Custom Audience." The System user is created and automatically assigned to your account during the connection steps. I suspect there is some error in your account that FB needs to investigate and resolve. Two things you could maybe try:
|
There are no system users listed in my account. Shouldn't one have been
created when I gave the plugin permissions on Facebook during the
connection process?
…On Wed, Sep 6, 2023, 1:22 PM Rodrigue ***@***.***> wrote:
Thanks for reaching out. I have tried connecting using a clean account,
and I was able to perform all API operations (Sync on connection, manual
sync, manual delete of a single product, and catalog delete using the tool
) without any errors.
I looked at the Facebook documentation
<https://developers.facebook.com/docs/marketing-api/error-reference/>,
and they say that "this error may occur if your access token is not added
as a system user with appropriate permissions to the ad account that owns a
Custom Audience."
The System user is created and automatically assigned to your account
during the connection steps. I suspect there is some error in your account
that FB needs to investigate and resolve. Two things you could maybe try:
1.
Reset your connection settings by navigating to your Dashboard ->
WooCommerce -> Status -> Tools -> Facebook: Reset connection settings ->
Click on reset settings. Then try to reconnect your FB business account
2.
You can verify that the ad account in Business Manager
<https://business.facebook.com/home/accounts> and verify that all
system users appear under the ad account as Admin:
- Click on Business Settings
- Click the ad account
- Select Add people
- Search for system users and add them as Admins
- Retry your API call
—
Reply to this email directly, view it on GitHub
<#2627 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCKUZMYNJ7W3ZVR2HHPZWZDXZBMI7ANCNFSM6AAAAAA4KBGMNY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here is a screenshot https://ibb.co/M6F25hS
…On Wed, Sep 6, 2023, 1:22 PM Rodrigue ***@***.***> wrote:
Thanks for reaching out. I have tried connecting using a clean account,
and I was able to perform all API operations (Sync on connection, manual
sync, manual delete of a single product, and catalog delete using the tool
) without any errors.
I looked at the Facebook documentation
<https://developers.facebook.com/docs/marketing-api/error-reference/>,
and they say that "this error may occur if your access token is not added
as a system user with appropriate permissions to the ad account that owns a
Custom Audience."
The System user is created and automatically assigned to your account
during the connection steps. I suspect there is some error in your account
that FB needs to investigate and resolve. Two things you could maybe try:
1.
Reset your connection settings by navigating to your Dashboard ->
WooCommerce -> Status -> Tools -> Facebook: Reset connection settings ->
Click on reset settings. Then try to reconnect your FB business account
2.
You can verify that the ad account in Business Manager
<https://business.facebook.com/home/accounts> and verify that all
system users appear under the ad account as Admin:
- Click on Business Settings
- Click the ad account
- Select Add people
- Search for system users and add them as Admins
- Retry your API call
—
Reply to this email directly, view it on GitHub
<#2627 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCKUZMYNJ7W3ZVR2HHPZWZDXZBMI7ANCNFSM6AAAAAA4KBGMNY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
My connected user looks the same as yours. Here are the screenshots of all
of the permissions:
https://ibb.co/YtS2pPq
https://ibb.co/rbk3t91
https://ibb.co/yB2WqR7
https://ibb.co/3fBDwG9
https://ibb.co/NTFPTQt
https://ibb.co/Rhh37DC
I don't see Facebook for WooCommerce available as a System User, but the
app is connected with access to the catalog, and the connected user has
full permissions. The plugin can add catalog items, but not update or
delete them.
…On Wed, Sep 6, 2023, 3:01 PM Rodrigue ***@***.***> wrote:
This is how mine looks:
[image: Screenshot 2023-09-06 at 14 59 00]
<https://user-images.githubusercontent.com/4209011/266014664-fe136edf-6266-4f9c-8ec5-2579a42ebb43.jpg>
Can you try giving the connected user full control?
—
Reply to this email directly, view it on GitHub
<#2627 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCKUZMZL34DYRQQCOUVGRL3XZBX4BANCNFSM6AAAAAA4KBGMNY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks for the feedback, @oceanlivingfoods. It's hard to pinpoint the issue as I can't reproduce any errors, which points to a potential issue with your account. Some users have had issues with FB because they did not have 2FA enabled on their business accounts. Besides that, I have no idea what the issue may be. I suggest contacting Facebook support. I am closing this issue as this cannot be addressed by changing the plugin. Feel free to reopen if you have more information on this. |
What about the missing system user? Should that have been created when the
plugin was connected? How can I create it manually?
…On Thu, Sep 7, 2023, 2:39 PM Rodrigue ***@***.***> wrote:
Closed #2627
<#2627> as
completed.
—
Reply to this email directly, view it on GitHub
<#2627 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCKUZM6MXDBWLIEJ7DD4S3DXZG57TANCNFSM6AAAAAA4KBGMNY>
.
You are receiving this because you were mentioned.Message ID:
<woocommerce/facebook-for-woocommerce/issue/2627/issue_event/10306917897@
github.com>
|
Yes. That was my expectation as well. My business account didn't create a system user on connection, but the generated token worked perfectly for me. They may have changed how this works.
Once you retrieve the token, you can update the wc_facebook_access_token value in the options table (or navigate to /wp-admin/options.php). If this doesn't work, you can disconnect your Facebook connection and reconnect afresh. |
I can't create a System User because it says there are no Apps connected.
When I click on the "Apps" section, there are no Apps listed. when I try to
connect an App, it asks for an App Id. How do I get the App Id? Shouldn't
the app have been connected when I gave permissions to Facebook for
WooCommerce when I connected it from Wordpress? I attached screenshots.
…On Thu, Sep 7, 2023 at 6:23 PM Rodrigue ***@***.***> wrote:
What about the missing system user? Should that have been created when the
plugin was connected
Yes. That was my expectation as well. My business account didn't create a
system user on connection, but the generated token worked perfectly for me.
They may have changed how this works.
How can I create it manually?
You can follow the instructions from Meta:
https://www.facebook.com/business/help/503306463479099?id=2190812977867143
.
Once you retrieve the token, you can update the wc_facebook_access_token
value in the options table (or navigate to /wp-admin/options.php). If this
doesn't work, you can disconnect your Facebook connection and reconnect
afresh.
—
Reply to this email directly, view it on GitHub
<#2627 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCKUZM7RMFR5UREJI5AAYC3XZHYHDANCNFSM6AAAAAA4KBGMNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@rawdreeg This is still an issue on my site, even after completely removing the catalog on Facebook, creating a new catalog, uninstalling and re-installing the plugin, and re-adding the products in WooCommerce. Here are the main issues:
When I try to look up the handle for the Graph API on Facebook, Facebook shows an error page (the handle lookup screen appears to be broken on Facebook).
This is an integration that was working for over a year, and broke maybe in May or April of this year. Deleting and recreating my catalog again is not an option, as it takes several months for Facebook to re-approve the site, and the Instagram and Facebook side of things are working perfectly, with many tagged products in my posts and Checkout enabled within Instagram. I lost months of sales trying to fix this issue myself when I started the Catalog again from scratch trying to fix the sync issue. Right now, the plugin can only be used to create products on the catalog, but not update or delete products, even those that were created by the plugin. This was working properly earlier in 2023 without any changes to my products. One other thing that I noticed is that the WooCommerce for Facebook plugin is listed as a System user for the Pixel, which is working fine, but not for the Catalog (see screenshot). However, it doesn't make sense that the Facebook for WooCommerce app would be allowed to create products but not update or delete them. I understand that you're not able to recreate this issue with a brand new account, but that doesn't help me, because I can't create my entire catalog and website from scratch again. This was working properly before some sort of update happened, and broke most likely because Facebook published a newer version of GraphAPI, which requires more explicit permissions for apps. I noticed another user reported the same issue at #2656, so I believe this issue is not isolated to my installation. What else do you need me to provide in order to fix this problem? My system report has not changed from the one that I pasted earlier in this thread. I am willing to hop on a Zoom call so that you can look at my database and whatever else you need in order to debug the problem. |
It looks like this was resolved on the Facebook side by allowing legacy updates to the Graph API. |
🔎 Isolate the bug
✍️ Describe the bug
IMPORTANT: Please review the Wordpress Forums thread at https://wordpress.org/support/topic/unable-to-sync-catalog/#post-17008247
The Facebook Sync issue exhibits itself as several defects:
All possible permissions have been granted to the Facebook for WooCommerce plugin, the plugin was reinstalled several times, and the catalog was recreated from scratch. None of these attempts at fixing the issue were successful.
The Facebook Commerce Manager reports the following "Something went wrong" error for all Sync attempts by the WooCommerce for Facebook plugin:
I have made 5 attempts at contacting Facebook customer service for this issue, but they have all stop responding after a few days after requesting that I submit a screen recording and screenshots describing the issue. They have failed to follow up with me after 3 weeks of reporting the issue to them and sending the requested screen recording and screenshots.
🚶♀️ Steps to reproduce
✔️ Expected behavior
The Facebook Catalog should remain in sync with the WooCommerce products when Sync is enabled both globally and for each product.
🗃 Logs
The text was updated successfully, but these errors were encountered: