Hi @yalcinkaya
I’d be glad to help you get this sorted.
Can you take a screenshot of the error you are seeing in your site and the steps to take in order to replicate it? We recommend https://snipboard.io for sharing screenshots – please follow the instructions on the page, then paste the URL in this thread.
I’d also like to better understand your site. Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your response.
Once we have that information, we’ll be in a better place to help
Hi @nathvi
I am not getting any visible error. When I make my site in Turkish, it does not synchronize my products. When I look at the error logs, I get the following error.
Logs while the site is in Turkish
03-31-2022 @ 00:18:15 - Request
method: POST
uri: https://graph.facebook.com/v12.0/***************/items_batch
user-agent: WooCommerce-for-Facebook/2.6.12 (WooCommerce/6.3.1; WordPress/5.9.2)
code: 400
message: Bad Request
If I change the language of my site to English, everything works fine.
Logs while the site is in English
03-31-2022 @ 00:21:24 - Request
method: POST
uri: https://graph.facebook.com/v12.0/***************/items_batch
user-agent: Facebook-for-WooCommerce/2.6.12 (WooCommerce/6.3.1; WordPress/5.9.2)
code: 200
message: OK
Only the user-agent is different. Could it be caused by this?
-
This reply was modified 2 years, 10 months ago by
yalcinkaya.
-
This reply was modified 2 years, 10 months ago by
yalcinkaya.
My problem was caused by user-agent. I am using the “Loco translate” plugin. Facebook for WooCommerce translates to WooCommerce for Facebook. When I manually set this to Facebook for WooCommerce via the Loco translate plugin, I have no sync problems.
https://snipboard.io/CWUGDL.jpg
Hi @yalcinkaya !
I can see you have found the issue and a workaround for this 🙂
Can you please reach out and open a new issue regarding this on the GitHub repository of this plugin here: https://github.com/woocommerce/facebook-for-woocommerce/issues
One of the developers will be able to further look into this there!
In the meantime, that is a cool workaround!