How to Fix Cloudflare Blocking Googlebot (403 on Sitemap and "Block AI Training Crawlers")

How to Fix Cloudflare Blocking Googlebot (403 on Sitemap and "Block AI Training Crawlers")

Search Console says "Couldn't fetch sitemap, 403" and Cloudflare shows Googlebot blocked by "Block AI training crawlers"? Here's why it happens and the one setting that fixes it.

Google Search Console suddenly says "Couldn't fetch" for your sitemap, with the reason "Blocked due to access forbidden (403)." You open Cloudflare's Security Events and find Googlebot being blocked by a rule called "Block AI training crawlers," even though your Search setting says Allow.

You didn't block Google. A change in how Cloudflare's AI crawler settings work did it for you.

Why Cloudflare Is Blocking Googlebot

Cloudflare sorts AI crawlers into three groups: Search, Training and Agent. You choose a setting for each one.

The problem is crawlers that do two jobs at once. Cloudflare calls them mixed-use crawlers. Googlebot is the main example: the same crawl feeds Google Search and Google's AI products. Bingbot and Applebot work the same way.

Before September 15, 2026, Cloudflare's Training "Block" deliberately skipped these mixed-use crawlers so sites wouldn't lose search traffic. On September 15, Cloudflare added a new option called Disallow AI Training, and changed Block so it applies to every training crawler, mixed-use ones included.

So a site with Training set to Block now blocks Googlebot completely. The Search setting can't override it. That is also why the individual Googlebot switch looks locked: Googlebot follows the Training setting, not the Search one.

Confirm It's This Problem

1. Check Search Console

In Google Search Console, open Sitemaps. A status of "Couldn't fetch" with "Blocked due to access forbidden (403)" is the first sign. The Page indexing report may also list pages under "Blocked due to access forbidden (403)."

2. Check Cloudflare Security Events

In Cloudflare, open your domain, then Security, then Events. Filter by the last 24 hours and look for requests from Googlebot. If the action is Block and the rule is "Block AI training crawlers," you've found the cause.

Cloudflare marks real Googlebot requests as verified bots. A verified Googlebot request being blocked confirms the setting is the problem, not a fake bot.

3. Don't test with a fake user agent

Running curl with a Googlebot user agent from your own computer won't show you what Google sees. Cloudflare checks where the request really comes from, so a fake Googlebot is treated differently from the real one. Use Search Console's URL Inspection, then Test live URL, on your sitemap URL instead.

How to Fix It

Option 1: Disallow AI Training (recommended)

  1. In the Cloudflare dashboard, open your domain.
  2. Go to Security, then Settings, and find the AI crawler controls (Search, Training, Agent).
  3. Set Training to Disallow AI Training.
  4. Keep Search on Allow.
  5. Save.

What this does:

  • Googlebot and Applebot stay allowed for search.
  • Cloudflare publishes a no-training preference in your robots.txt (a Disallow rule for Google-Extended and Applebot-Extended).
  • Every other training crawler is blocked, including training-only bots.

One caveat from Cloudflare: Bingbot stays allowed, but the no-training preference is not passed to Bing through robots.txt yet. Cloudflare says Microsoft support for this is planned for early 2027.

Option 2: Allow training completely

If you don't mind your content being used for AI training, set Training to Allow. Every crawler is let through unless another setting or a WAF rule blocks it.

What doesn't work

  • A WAF skip rule for verified bots. Several site owners on the Cloudflare Community report that their skip rule matches the request, but the "Block AI training crawlers" rule still blocks it. Change the Training setting itself.
  • Setting Search to Allow. As long as Training is on Block, Googlebot is still blocked.

After You Fix It

  1. In Search Console, open Sitemaps and resubmit your sitemap.
  2. Run URL Inspection, then Test live URL, on the sitemap and on your homepage. Both should show "URL is available to Google."
  3. Check Security Events again. Googlebot requests should now show Allow, or not appear at all.
  4. Check that your sitemap returns a 200 status code. A free HTTP Status Code Checker shows the code your server sends right now.
  5. If pages dropped out of the index while the block was on, request indexing for your most important pages.

A short block usually recovers within days once Googlebot can crawl again. A 403 tells Google the page is forbidden, so the longer it stays, the more pages can drop out.

Should You Block AI Training at All?

That's your call, and both choices are reasonable. Just keep the two goals separate:

  • To stay in Google Search, Googlebot must be able to crawl your site.
  • To opt out of Google's AI training, use the Google-Extended token in robots.txt. Disallow AI Training does this for you.

Blocking Googlebot to stop AI training also removes you from Google Search. For most sites, that costs far more than it protects.

Frequently Asked Questions

1. Why can't I turn on Googlebot separately in Cloudflare?

Because Googlebot is a mixed-use crawler. Cloudflare applies the most restrictive setting that touches it, and that's your Training setting. Change Training, not Search.

2. Will "Disallow AI Training" hurt my Google rankings?

No. Googlebot stays allowed for search. Only the Google-Extended token is disallowed, and Google says Google-Extended does not affect search ranking or inclusion.

3. Does this also block Bing?

With Training on Block, yes: Bingbot is blocked too. With Disallow AI Training, Bingbot is allowed, but Bing won't receive the no-training preference until Microsoft adds support.

4. I never changed any setting. Why did this start?

Settings changed when Cloudflare updated its AI crawler controls. New domains also get default AI crawler settings, so check what your domain is set to rather than assuming it's off.

5. How long until Google can read my sitemap again?

Usually right after you change the setting. Resubmit the sitemap and run a live URL test to confirm. Search Console's status can take a day or two to update.

The Short Version

Your Cloudflare Training setting is on Block (or Block on pages with ads). Since September 15, 2026, that setting also blocks Googlebot, Bingbot and Applebot, because they crawl for search and AI training in the same visit.

Fix: in your domain's Security Settings, change Training from Block to Disallow AI Training. That keeps Google and Bing crawling for search, publishes a no-training preference in robots.txt, and still blocks training-only bots. Then resubmit your sitemap in Search Console.

Written by Baleeghuddin Shaikh, SEO consultant with 8 years of experience in technical SEO and site diagnostics.

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us