Cloudflare blocks an integration I have

Hey everyone, I think Cloudflare is blocking an integration I have. I'm using WordPress and WooCommerce, and there's a 3rd party app that uses the REST API credentials I provided. But the integration is still not going through. When it does get through, it lasts only a few days. This is the error message I get: Could not connect to the store. Please ensure credentials are correct and the store’s REST API is accessible at https://mydomain.com/wp-json/wc/v3/orders/wp-json Here's what I tried to do: I tried adding a rule that allows everyone to reach /wp-json folder, but for some reason it still didn’t work well and Cloudflare still blocked the integration. Although it's not that safe imo I tried asking the 3rd party app for their IP, but they have a range of thousands of them, so I found it difficult to work with. I’m not familiar with Cloudflare or how to use it properly, but I need this integration to work, and I need your help. The 3rd party app I'm trying to add is Lulu.com Thank you!
8 Replies
Laudian
Laudian7d ago
Check on https://dash.cloudflare.com/?to=/:account/:zone/security/events why the request was blocked. How to unblock depends on what service blocked it.
snowday
snowdayOP7d ago
I think the service was "bot fight mode", and the action was "managed challenge".
Laudian
Laudian7d ago
In that case, disable Bot Fight Mode.
snowday
snowdayOP7d ago
Will it expose my website to hackers or smth?
Laudian
Laudian7d ago
It means Cloudflare will no longer block access to automated tools, both legitimate and malicious. I'd say Bot Fight Mode is mostly meant as a feature to reduce unwanted traffic (volume), not as a security measure.
snowday
snowdayOP7d ago
I see. Can I disable it only for the /wp-json folder?
Laudian
Laudian7d ago
No. Bot Fight Mode is on/off only. The paid version (Super Bot Fight Mode) can be further configured.
snowday
snowdayOP7d ago
Okay, I see, maybe it's worth upgrading, but for now it works! I disabled it and now the integration is working! @Laudian thank you very much!

Did you find this page helpful?