🚫
AB-046

Structured 404 Errors

🏗️ Infrastructure Pillar: Verifiability Quick fix Severity: medium Est. cost: $0 Gap: semantic Fix: assisted

What it means

Your site returns structured JSON for 404 errors instead of plain HTML.

Why it matters

When agents hit a missing page, a structured error tells them what went wrong. An HTML 404 page is useless to machines.

Evidence expected

This rule is verified by:

http Source: Runtime probe
✗

What's wrong

404 returns an HTML page. Agents can't parse the error.

✓

What's right

404 returns structured JSON with error details agents can understand.

Check this rule on your site

Enter your URL to check just this one rule (AB-001).

Related rules in Infrastructure

Machine-Readable

This rule is also available as JSON: /rules/AB-046.json

Explore More

  • All Rules

    Browse the complete rules catalog

  • Agent Guide

    Learn how to fix this rule

  • Blog

    Related articles on agent readiness