Product sync profile not found.
-
I am getting this error “Product sync profile not found.” when I try to sync my products to Google Shopping Center.
What should I do to further debug this issue?
The page I need help with: [log in to see the link]
-
I have just noticed that the step “Map your product attributes” doesn’t show any actual attributes that I can map. So after I select and map the categories, there is no attribute that I can map.
I looked in the Chrome Dev Tools in the Network tab, I can see the admin-ajax call that retrieves the Categories with action “tvcajax-gmc-category-lists” but once I click “Next” there is no other AJAX call to retrieve any Attributes.
So I found this other similar suppor thread (https://www.ads-software.com/support/topic/product-attribution-mapping-page-not-showing/) and followed the steps. I restarted the setup process and I noticed in the Dev Tools an error right at the end. Attaching error below. This was for the action: link_google_ads_to_merchant_center. Perhaps it’s due to the Google Ads account being a Manager account? (MCC). I am an agency setting this plugin up for our client.
0: "{\n \"message\": \"The caller does not have permission\",\n \"code\": 7,\n \"status\": \"PERMISSION_DENIED\",\n \"details\": [\n {\n \"@type\": 0,\n \"data\": \"type.googleapis.com\\/google.ads.googleads.v8.errors.GoogleAdsFailure\"\n },\n {\n \"@type\": 0,\n \"data\": [\n {\n \"errorCode\": {\n \"authorizationError\": \"USER_PERMISSION_DENIED\"\n },\n \"message\": \"User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See https:\\/\\/developers.google.com\\/google-ads\\/api\\/docs\\/concepts\\/call-structure#cid\"\n }\n ]\n },\n {\n \"@type\": 0,\n \"data\": \"-d5ia6bXywtEOo7ylCT6ig\"\n }\n ]\n}"
Even with this error, the setup finished successfully from what I can tell. I saw the follow success message: “Everthing is now set up. One more step – Sync your WooCommerce products into your Merchant Center and reach out to millions of shopper across Google.”
Now I really believe that the AJAX call to retrieve the Attributes doesn’t fire hence the problem.
I do confirm that I checked my PHP settings and I have
allow_url_fopen
enabled as well as very large and permissive timeout settings.-
This reply was modified 3 years, 4 months ago by
cristianuibar.
-
This reply was modified 3 years, 4 months ago by
cristianuibar.
-
This reply was modified 3 years, 4 months ago by
cristianuibar.
Also, one more thing I noticed. While debugging I turned off Redis Object Cache and then a 500 memory error started to show up for the main Google Shopping Feed settings page
/wp-admin/admin.php?page=conversios-google-shopping-feed
.When I looked in the logs I saw a huge memory consumption with error:
Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /wp-includes/class-wp-term.php
Increasing the memory limit further from 256 to 512mb fixed the issue. However, it should be fixed somehow on the plugin side I believe. Perhaps some too intensive Queries are being made?
-
This reply was modified 3 years, 4 months ago by
cristianuibar.
I have checked and I can see the file
./wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/includes/setup/json/gmc_attrbutes.json
exists on disk and it is readable and accessible.I have checked all file/folder permissions and ownership and everything looks correct.
-
This reply was modified 3 years, 4 months ago by
cristianuibar.
Hello @tatvic,
Any news on this issue?
I’m looking forward to implementing it in this shop + one more which is coming after this one, both with ~6-7k products. First I need to test it out and make sure it’s working fine, which so far it’s not ??
Hello @cristianuibar,
Thanks for creating this thread and apologies for the late posting.
The error “Product sync profile not found.” generally occurs when the ‘gmc_attrbutes.json’ file is inaccessible.
The PHP function “file_get_contents()” is used by the plugin to access and read the attributes from the JSON file. It seems currently the “file_get_contents()” function is not able to access or read the JSON file.
To address this please make sure PHP server configuration options(in php.ini) “allow_url_fopen” and “allow_url_include” are on. Then restart the server, clear the cache, go to the plugin product sync page, hard refresh the product attribute mapping page. You will probably have the product attributes.
Another aspect you can check is that there should be no security constraints that disallow the plugin to access the ‘gmc_attrbutes.json’ file.
Hope the above would solve the issue faced.
Regards,
Tatvic Analytics. -
This reply was modified 3 years, 4 months ago by
- The topic ‘Product sync profile not found.’ is closed to new replies.