Articles on: Frequently Asked Questions (FAQ)

How to resolve WooCommerce API Errors Caused by Firewall Blocking?

Issue: SyncX cannot connect to WooCommerce due to API authorization errors, often caused by firewall/security blocking (Cloudflare/Cloudways).


  1. Check Bot Fight Mode:

a. Log into your Cloudflare dashboard

b. Use the Quick Search bar at the top and type "Bot Fight Mode"

c. It should take you directly to the setting then disable/turn off Bot Fight Mode


  1. Create a separate Skip rule for the WooCommerce API path:

a. Go to Security → WAF → Custom Rules

b. Click "Create Rule"

c. Rule name: Allow Stock Sync WooCommerce API

d. whitelist these IPs: 52.202.180.173, 34.197.203.250, 52.20.189.51

e. Expression: (http.request.uri.path contains "/wp-json/wc/")

f. So the full expression becomes:(ip.src in {52.202.180.173 34.197.203.250 52.20.189.51}) or (http.request.uri.path contains "/wp-json/wc/")

g. Action: Skip → select all security features

h. Drag this rule to the top of your rule list

i. Click "Deploy"



Note: If stuck at “Authorize” page or API keys multiply, your Cloudflare or your hosting provider such as Cloudways is still blocking the connection from Stock Sync.

Updated on: 04/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!