{
  "id": "python/starlette-request-validation-error",
  "signature": "starlette.exceptions.HTTPException: 422 Unprocessable Entity",
  "signature_zh": "Starlette 异常：422 无法处理的实体",
  "regex": "starlette\\.exceptions\\.HTTPException:\\ 422\\ Unprocessable\\ Entity",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "请求体或参数验证失败，例如缺少必填字段。",
  "root_cause_type": "generic",
  "root_cause_zh": "请求体或参数验证失败，例如缺少必填字段。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "会导致数据不完整，业务逻辑错误",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "不解决验证问题，只是绕过",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "from pydantic import BaseModel\nclass Item(BaseModel):\n    name: str\n    price: float = Field(..., gt=0)",
      "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.83,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-02-14",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}