Table of contents
If every row of your scan says HTTP 202, the scanner never reached your site. A firewall rule answered for it, and the pattern (202 on every path, real or not) is the one AWS documents for an AWS WAF Challenge action. In our scan database, the six sites answering this way score 8 out of 100 on average, and the fix is one exclusion for your discovery files.
Quick summary
| Question | Short answer |
|---|---|
| What is the 202? | According to the AWS WAF developer guide, a Challenge answers a request that has no valid token with status 202, the header x-amzn-waf-action: challenge and, for clients that accept HTML, a JavaScript page |
| Who gets stuck? | Any client that runs no JavaScript: GPTBot, ClaudeBot, PerplexityBot, curl, and our scanner |
| How bad is it? | 6 of 861 scanned sites, mean score 8, five of them at 4 (scan database, 19 November 2026) |
| How do I confirm it? | npx aiscan-cli yoursite.com, then one curl for the header |
| What is the fix? | Keep the Challenge for pages, exclude /robots.txt, /llms.txt, sitemaps and /.well-known/ from it |
| Time needed | About 15 minutes in the web ACL, plus a re-scan |
Why a Challenge looks like an empty site
A Challenge is a silent test for browsers. AWS WAF holds the request, sends back a small script, and the script earns a token (the aws-waf-token cookie) and resubmits. A person never notices. In its own words, the AWS guide says the scripts "can only be handled properly by a client that's expecting HTML content".
A crawler is not that client. It reads the 202 as the answer. RFC 9110 §15.3.3 defines 202 as "accepted for processing, but the processing has not been completed", so nothing tells the crawler to try again with a cookie. It gets a script tag where your robots.txt, your llms.txt and your homepage should be.
The damage goes past a low score. We served a 202 challenge page from a local test server and pointed Python's standard robots.txt parser at it:
python 3.11.18
/robots.txt 202 challenge text/html; charset=UTF-8 135 bytes
/llms.txt 202 challenge text/html; charset=UTF-8 135 bytes
/no-such-page-123 202 challenge text/html; charset=UTF-8 135 bytes
can_fetch GPTBot /private/ -> True
can_fetch ClaudeBot /private/ -> True
site_maps -> None
The parser found no rules in the HTML, so every Disallow you wrote is gone for that client, and so is your sitemap line. A 403 fails the other way round in the same library, which we covered in Python's parser treating a 403 as disallow-all.
What the scan database shows
These figures are from the AIScan production database on 19 November 2026: the latest site scan per host on rubric 2026.08.2, 861 hosts, our own site excluded. No host is named and none was re-probed for this post.
Six hosts returned 202 to seven or eight probes each. This is what their reports hold:
| Check | What it requests | Result on the six hosts |
|---|---|---|
| D1 robots.txt | /robots.txt | fail on 5 (HTTP 202), pass on 1 |
| C2 llms.txt | /llms.txt | fail on 6 |
| C1 Markdown | homepage with Accept: text/markdown | fail on 6 (202 (text/html)) |
| E1 404 handling | a nonsense path | fail on 6 (HTTP 202, 197 bytes, text/html) |
| E3 and C3 | homepage HTML | fail on 6 (0 words, no title, no h1) |
| P1 to P4 | /.well-known/ files | info on 6 (HTTP 202) |
Five of the six score 4. The sixth scores 29, and the difference is one file: its robots.txt came back 200 with 2,277 bytes and rules for 15 AI agents, so D1 and B2 passed. Somebody there had already excluded one path from the Challenge. Excluding the rest is the same job.
One caveat. A scan stores status, size and content type, not response headers, so the stored data cannot prove those six sit behind AWS WAF. A 202 on a path that does not exist is the pattern AWS documents, and the curl check below settles it for your own site.
The same table shows how the scanner grades a firewall answer on the E1 probe:
| Response to a nonsense URL | Hosts | E1 grade |
|---|---|---|
| 404 with a useful body | 638 | pass |
| 200 (soft 404) | 82 | fail |
| 403 | 43 | partial |
| 429 | 31 | partial |
| 202 | 6 | fail |
A 403 or a 429 earns partial credit because the scanner recognises a block. A 202 is graded like a soft 404, although the cause is the same firewall. We have reported that as a scanner inconsistency. Until it changes, read E1 on a 202 site as "blocked", not as a broken 404 page. The wider picture of firewalls answering for sites is in our blocked probes study.
Step 1: Confirm it is a Challenge
Run the scan first. It runs about 20 checks and shows the status each one received:
npx aiscan-cli yoursite.com
Look at D1, C1, C2 and E1 on the discoverability and content rows. If their evidence reads HTTP 202, check the header by hand:
curl -s -o /dev/null -D - https://yoursite.com/robots.txt | grep -i -E '^HTTP|x-amzn-waf-action'
Expected output on a challenged site:
HTTP/2 202
x-amzn-waf-action: challenge
A 405 with x-amzn-waf-action: captcha is the CAPTCHA action, which fails crawlers the same way. A 202 with no x-amzn-waf-action header is another product, and this guide's rule syntax will not apply.
Step 2: Find the rule that issues it
Open your web ACL logs and read the fields whose names start with terminatingRule, which is where AWS's Bot Control guide says the acting rule is recorded. There are two usual sources.
- A rule you wrote with the action set to Challenge, often matching every request.
- The Bot Control managed rule group at the targeted level. Verified on 19 November 2026 in the Bot Control rule listing:
TGT_VolumetricIpTokenAbsentapplies Challenge to clients that are not verified bots after "5 or more requests from a single client in the last 5 minutes" without a token. A crawler reading robots.txt, a sitemap and three pages crosses that line.
Step 3: Exclude the discovery files
Pick the path that matches the source.
Path A: Bot Control. Add a scope-down statement to the managed rule group so it skips discovery files. According to AWS's own scope-down example, fetched from the developer guide on 19 November 2026, the pattern is a regex pattern set inside a NOT statement. Create a regex pattern set holding this pattern:
^/(robots\.txt|llms(-full)?\.txt|sitemap[^/]*\.xml|\.well-known/.*)$
Then reference it in the rule's JSON:
"ScopeDownStatement": {
"NotStatement": {
"Statement": {
"RegexPatternSetReferenceStatement": {
"ARN": "<your regex pattern set ARN>",
"FieldToMatch": { "UriPath": {} },
"TextTransformations": [{ "Priority": 0, "Type": "NONE" }]
}
}
}
}
Path B: your own Challenge rule. Wrap its existing statement in an AndStatement with the same NotStatement, so the rule matches only when the path is not a discovery file.
Both paths leave the Challenge on your pages. That is a choice: AI crawlers can then read your rules and your llms.txt but still cannot read articles. If you want them to read pages too, Path B needs a second exclusion for the user agents you trust, and those strings are easy to forge, so pair it with a rate limit that exempts discovery files.
What not to change
- Do not switch the web ACL to Allow for these paths without thinking about order. An Allow rule ends evaluation, so your rate-based rules stop applying to them. A scope-down keeps the other rules running.
- Do not count on the verified-bot label for AI crawlers. According to the same AWS rule listing,
CategoryAI"applies the action to all matches, regardless of whether the bots are verified or unverified", and its action is Block. If Bot Control is on and you want AI crawlers, AWS's documented route is a rule action override of Count onCategoryAI, then your own label-matching rule after the group. - Do not judge the result in a browser. Your browser holds a token and will show a normal page before and after.
Verify the fix
- Run
npx aiscan-cli yoursite.comagain. D1, C2 and E1 should stop showingHTTP 202. - By hand:
curl -s -o /dev/null -w '%{http_code}\n' https://yoursite.com/robots.txtshould print200. The same command on/llms.txtshould print200, or404if you publish none. - A nonsense path such as
/no-such-page-123will still print202while pages stay challenged. That is expected with this fix, and E1 will keep failing until the grading issue above is resolved or you exclude more paths.
AIScan cannot see inside your web ACL. It reports the status and size each probe received, and it does not name the firewall. Repeat the check after any change to the web ACL or a new version of a managed rule group.
Next: scan the site, read the D1, C2 and E1 rows, and work through the rest of the report with the fix guides.
Frequently asked questions
My AIScan report shows HTTP 202 on every check. What does that mean?
The scanner did not reach your site. Something in front of it answered every request with 202, including the request for a page that does not exist. On AWS that is the documented response of a WAF Challenge action to a client without a token. Confirm it with curl -s -o /dev/null -D - https://yoursite.com/robots.txt and look for the x-amzn-waf-action: challenge header.
curl returns 202 with a tiny HTML body, but my browser loads the page. Why?
Your browser ran the challenge script, earned a token cookie and resubmitted the request without showing you anything. curl runs no JavaScript, so it stops at the 202. AI crawlers behave like curl here, which is why the page looks fine to you and empty to them.
I allowed GPTBot in robots.txt, but it still gets a 202. What is wrong?
The Challenge is answering the robots.txt request itself, so the crawler never reads your rules. robots.txt is advice to the crawler; the web ACL decides what is served. Exclude /robots.txt and the other discovery files from the Challenge rule first, then check that the file returns 200 to curl.
I excluded the discovery files and E1 still fails with 202. Did the fix not work?
It worked if /robots.txt and /llms.txt now return 200 or 404 to curl. E1 requests a nonsense page path, which is still challenged when you keep the Challenge on pages, and the scanner currently grades that 202 as a fail. The other rows are the ones to watch after this fix.
Is HTTP 202 an error?
No. RFC 9110 defines 202 Accepted as a success code meaning the request was accepted and processing has not finished. That is the trouble for crawlers: nothing in the status says access was refused, so a client has no reason to treat the challenge page as anything other than the content.
Does AWS WAF Bot Control let verified AI crawlers through?
Not by default. According to the AWS Bot Control rule listing, read on 19 November 2026, the CategoryAI rule applies its Block action to every match whether the bot is verified or not. To let AI crawlers in, AWS's documented route is a rule action override of Count on that rule and a label-matching rule of your own after the group.
Does the CAPTCHA action return 202 as well?
No. According to the AWS WAF developer guide, CAPTCHA answers with HTTP 405 and the header x-amzn-waf-action: captcha. A crawler cannot solve it either, so the effect on AI agents is the same and the same path exclusion applies.
Does AIScan detect AWS WAF?
No. AIScan records the status code, size and content type each probe received, and it does not identify the firewall or read your web ACL. A 202 in the evidence column tells you a challenge-style answer came back; the x-amzn-waf-action header in a curl response tells you it was AWS WAF.

About the author
M Asif Rahman
Entrepreneur, curious about AI
I have been building companies for a long time, and lately most of my curiosity goes to AI. AIScan is a small personal project I built on a flight from Dubai to Narita. I use it to understand how ready the web is for AI agents, and I share what the scans teach me.
Related guides
llms.txt vs robots.txt vs sitemap.xml: Six Files, 843 Sites
Updated on 15 November 2026. The study below was measured on 4 September 2026; a rerun on 843 sites, scanned up to 15 November, is in its own section, and the live examples were rechecked the same…
AI readiness setup guide by platform (2026)
Verified 17, 18, 20 and 22 October 2026. Updated on 22 October 2026. An AIready site needs six things: a robots.txt that names AI crawlers D1, B2, a sitemap D2, a declared feed E5, an llms.txt C2,…
Rate-limit AI crawlers without blocking them
Most advice on rate limiting AI crawlers stops at "add a limit". The part that costs you is where the limit applies and what it answers. A limit that covers /robots.txt and /llms.txt makes your own…
