{
  "id": "python/aiohttp-client-http-error",
  "signature": "aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://example.com/nonexistent')",
  "signature_zh": "aiohttp客户端异常：404，消息='未找到'，url=URL('http://example.com/nonexistent')",
  "regex": "aiohttp\\.client_exceptions\\.ClientResponseError:\\ 404,\\ message='Not\\ Found',\\ url=URL\\('http://example\\.com/nonexistent'\\)",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The server returns a 4xx or 5xx status code, and aiohttp raises an exception if raise_for_status is called.",
  "root_cause_type": "generic",
  "root_cause_zh": "服务器返回4xx或5xx状态码，如果调用raise_for_status，aiohttp会引发异常。",
  "versions": [
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The error is raised by raise_for_status(); if you don't call it, no exception occurs.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The resource doesn't exist; changing method won't help.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "if resp.status != 200: raise Exception(f'HTTP {resp.status}')",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "try: resp.raise_for_status() except aiohttp.ClientResponseError as e: print(e.status)",
      "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.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-06-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}