Product feed doesn’t work
-
An error occurred while retrieving your product feed. Please try again later.
-
Hi there,
We have seen some cases of similar error messages being resolved by increasing the maximum execution time of PHP scripts by setting the
max_execution_time
config and also increase thememory_limit
settings in thephp.ini
file.It might also help to look at the server logs if the issue persists after making these changes.
To find the generated logs:
Go to WooCommerce > Status > Logs
In the top right corner, open the drop-down and select the latest log file for google-listings-and-ads, then click view to load it.
Copy/paste the relevant part of the log into your response so we can take a look.Let us know how that goes and we can look into this further with you.
Hello.
Thanks for your help. Here it is:
2022-02-01T14:09:19+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:11:15+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:11:27+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:11:57+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:12:13+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:12:18+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:12:22+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:13:00+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:13:59+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:15:47+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:16:18+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\{closure} in add_auth_header() A WP Error was generated. Code: "no_possible_tokens" Message: "No blog token found". 2022-02-01T14:17:19+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\API\Google\Merchant::get_account {"statusCode":401,"error":"Unauthorized","message":"Site is not connected to Google account for google-mc"}
The account is connected to the google merchant. I don’t understand that log line.
I’ve doubled the maximum execution time (180s) and memory (512M) and now it works.
Great to hear! Glad that’s sorted.
cheers,
- The topic ‘Product feed doesn’t work’ is closed to new replies.