{
  "id": "python/pydantic-extra-fields-forbidden",
  "signature": "pydantic.error_wrappers.ValidationError: 1 validation error for Model\n  extra field not permitted",
  "signature_zh": "pydantic.error_wrappers.ValidationError: Model 的 1 个验证错误\n  不允许额外字段",
  "regex": "pydantic\\.error_wrappers\\.ValidationError:\\ 1\\ validation\\ error\\ for\\ Model\\\n\\ \\ extra\\ field\\ not\\ permitted",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "Model is configured with extra='forbid' but receives additional fields not defined in the model.",
  "root_cause_type": "generic",
  "root_cause_zh": "模型配置为 extra='forbid'，但接收到了模型中未定义的额外字段。",
  "versions": [
    {
      "version": "2.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "This may not be desired; better to allow or ignore.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Data may be lost or inconsistent.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Set extra='ignore' to silently drop extra fields",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Add the extra field to model if needed",
      "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.89,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-03-10",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}