{
  "id": "python/starlette-http-exception",
  "signature": "starlette.exceptions.HTTPException: 404: Not Found",
  "signature_zh": "starlette.exceptions.HTTPException：404: 未找到",
  "regex": "starlette\\.exceptions\\.HTTPException:\\ 404:\\ Not\\ Found",
  "domain": "python",
  "category": "runtime_error",
  "subcategory": null,
  "root_cause": "A route or resource is not found; raised by Starlette when no matching route exists.",
  "root_cause_type": "generic",
  "root_cause_zh": "未找到路由或资源；当没有匹配的路由时由 Starlette 引发。",
  "versions": [
    {
      "version": "0.30.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "0.40.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Masks the 404 but doesn't fix the missing route or typo.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Debug mode shows traceback but doesn't resolve missing route.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Check `app.routes` or the OpenAPI docs at /docs.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "app.include_router(router, prefix='/api/v1')",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-07-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}