Bot Fight Mode does exactly what the name says: it fights bots — including the bots you invited. Webhook senders, payment callbacks, uptime monitors, and your own mobile app’s HTTP client all look automated, because they are. On the Free plan the hard truth is that BFM has no exemption mechanism: no path skip, no IP allowlist, nothing — your options are the toggle, restructuring where webhooks land, or a plan with Super Bot Fight Mode, which can be skipped per-request with a WAF custom rule. Confirm the actor in Security > Events first, because “webhooks failing with 403” has several possible authors.
What’s happening
In the edge’s evaluation order — DDoS mitigation, IP Access rules, WAF custom rules, rate limiting, managed rulesets — the bot products render their verdicts through their own machinery, and that separateness is the trap: a Skip rule that exempts your webhook path from managed rules and rate limiting does not touch Bot Fight Mode on Free. BFM is a zone-wide toggle that challenges or drops requests matching automated patterns, sparing only Cloudflare’s verified bots directory. That directory is why symptoms are inconsistent across sites: some large senders (Stripe’s webhook fleet among them) are verified and pass, while your monitoring agent, a niche provider’s callbacks, or a partner’s custom integration are not and get fought.
Super Bot Fight Mode, on Pro and Business, is configurable where BFM is not: Definitely automated traffic gets an action you choose (Block, Managed Challenge, or Allow) — Business adds the same choice for Likely automated — verified bots get their own allow/block setting, and, decisively for this problem, SBFM can be skipped for specific requests using a WAF custom rule with the Skip action. Enterprise Bot Management with per-request bot scores is a different, Enterprise-only product; do not plan around it on a self-serve zone.
What to check first
- The Service column in Security > Events. Filter by your webhook path: Bot Fight Mode or Super Bot Fight Mode names the real actor; if it says WAF or Rate limiting, this is a different article’s problem.
- The sender’s own delivery log. Stripe, PayPal, and GitHub all show attempt-by-attempt results with response codes; a 403 with an HTML body there is the edge talking, not your app.
- Whether the failing callers are verified bots. Consistent failures from monitoring agents plus clean deliveries from Stripe usually means verification is deciding, not your configuration.
- When BFM was enabled versus when deliveries started failing. The toggle often predates the symptom report by weeks because retries masked it.
How to verify
Reproduce what a webhook sender experiences — an automated client from a datacenter IP:
# From a VPS (not your office): mimic a webhook-ish client
curl -s -D /tmp/wh-headers.txt -o /tmp/wh-body.html \
-X POST "https://www.example.com/webhooks/stripe" \
-H "Content-Type: application/json" -A "Stripe/1.0 (+webhooks)" \
--data '{"type":"ping"}'
grep -iE "^(HTTP|cf-mitigated|cf-ray)" /tmp/wh-headers.txt
# 403 + cf-mitigated: challenge on a machine endpoint = a challenge nothing can solve
grep -oE "Cloudflare Ray ID: [a-f0-9]+" /tmp/wh-body.html
Tie it to the verdict log:
Security > Events
Filter: Path equals /webhooks/stripe
Read: Service = Bot Fight Mode (or Super Bot Fight Mode),
Action taken = Managed Challenge or Block,
ASN of the failing sender (datacenter ASNs are expected here)
Then run the same POST from a clean residential IP with a browser user agent: if that passes while the datacenter version fails, you are looking at bot heuristics, which confirms the diagnosis.
The fix
- On Free, accept that BFM is all-or-nothing and decide the toggle. If webhooks or APIs matter — and payment webhooks always matter — turn Bot Fight Mode off in Security > Bots. An unreceived Stripe event is real revenue damage; BFM’s scraping relief is not worth it on a zone that receives machine traffic.
- Replace the lost coverage with layers you can scope. A rate limiting rule on the paths bots hammered and custom rules for the specific abuse patterns give back most of the practical value — thresholds are covered in rate limiting rules and thresholds.
- Or restructure so BFM never sees machine traffic. Move webhooks and API endpoints to a dedicated hostname that is DNS-only (grey cloud), or to a separate zone without BFM. A grey-cloud hostname loses Cloudflare’s protection entirely, so firewall it origin-side to the sender’s published IP ranges and require signature verification.
- On Pro or Business, use SBFM’s dials instead of the toggle. Set verified bots to Allow, then add a WAF custom rule with action Skip covering Super Bot Fight Mode, scoped tightly: your webhook path and the sender’s published IP ranges (Stripe, PayPal, and GitHub all publish theirs; keep them in an IP list).
- Never challenge a machine path as a “compromise”. Managed Challenge on a webhook route is a block with extra steps — no webhook sender executes JavaScript. Machine paths get Allow, Skip, or Block; challenges are for humans.
- Re-verify from the sender’s side. Trigger a test delivery (Stripe’s CLI can resend events), confirm 2xx in the provider dashboard, and watch the path in Security > Events for a quiet day.
When this fix is wrong
If Events shows the block coming from a custom rule, managed rules, or rate limiting, fixing bot settings changes nothing — route the fix to the actual service. If deliveries fail with 5xx or timeouts, the edge let them through and your origin is the problem. And if the “webhook” traffic failing is genuinely unwanted automation probing your endpoints, BFM is succeeding; leave it alone.
Common mistakes
- Assuming an IP Access rule Allow or a WAF Skip rule exempts Bot Fight Mode on Free — neither does, and the belief that they do costs teams days.
- Testing from an office browser, seeing the site work, and closing the ticket while every machine client stays blocked.
- Forgetting monitoring callbacks and cron-ping services are automation too, then chasing phantom downtime.
- Turning BFM off during the incident and back on a week later out of habit, restarting the outage.
- Planning around bot scores on a Pro zone — scores belong to Enterprise Bot Management, which self-serve plans do not have, as the tier breakdown in bot management tiers makes clear.
Prevention
Inventory every machine caller before enabling any bot product: webhook senders, monitors, partners, app backends, with their documented IP ranges. On Free, that inventory tells you whether BFM is viable at all; on Pro and Business it becomes your Skip rule and IP lists. Recheck the inventory when providers announce IP changes, and alert on 403 rates for webhook paths so the next regression pages you before the provider disables your endpoint. Bot product behaviour is documented at developers.cloudflare.com/bots/.
Tuning edge security so it blocks attacks without blocking customers is ongoing work — Stack Harbor watches those events around the clock under 24/7 Monitoring & Response; book a monitoring and response review.