I have a one problem, because I use a lot of products from Cloudflare, but I noticed that a Cloudflare blocked all API calls from companies that are connected to my server.
I use Wordpress and plugin Cloudflare.
I noticed that each of these connections has a different error in Google Developer Panel.
For example, the call from Sendinblue ends with the error "Loading failed for the with source “xxx”.
And from another company the call ends with a 401 error.
If so, you should see the challenged/blocked firewall events in the firewall events if you navigate to the Cloudflare dashboard → Security → Overview and lookup for Firewall events for the past 24hours or so. Once you find them, click on a particular one to find more details about it (user-agent, IP, HTTP version …). If yes, could you share some details which service was triggered that blocked you?
you should see your origin host/server IP out there and user-agent like WP-cron or WordPress/version
In general, after adding rules such as User-agent and IP address, the situation still persists and I have added this information from several API providers and the situation is the same for each.
That’s the problem: the dashboard doesn’t show any blocked request from the service providers I connect to via the API.
Maybe it will be easier for you to find the problem this way.
One of my service providers with whom I connect via the API offers to ship the order to the buyer and mediates the payment.
When I am in the shopping cart I can normally select the type of delivery and this is normally sent to the cockpit of this service provider via the API. The problem starts when I want to select them as payment intermediaries. When I click on the ‘Buy Now’ button the payment is rejected and in the cockpit I only see the error ‘XHR POST url [HTTP/2 401 Unauthorised].’
Unfortunately after the payment is rejected it is not visible in the WAF dashboard.
I found another strange thing. I connected the API key with which I connect that the previously mentioned service to Postman. Connections from Postman were first rejected, then I created rules to enable the connection. With Postman, all connections were normally accepted and visible in events. With this service, still nothing is connecting.
I have contacted their customer support and they claim to see in their error logs that connections are being blocked by Cloudflare.