{
  "id": "python/django-field-error-unknown",
  "signature": "django.core.exceptions.FieldError: Unknown field(s) (age) specified for User",
  "signature_zh": "Django字段错误：为User指定了未知字段(age)",
  "regex": "django\\.core\\.exceptions\\.FieldError:\\ Unknown\\ field\\(s\\)\\ \\(age\\)\\ specified\\ for\\ User",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "Trying to query or filter on a field that does not exist in the model.",
  "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": "Assuming the field exists in the database",
      "why_fails": "Field must be defined in the model class.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using incorrect field name spelling",
      "why_fails": "Even minor typos cause this error.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check model definition for correct field names",
      "success_rate": 0.95,
      "how": "In models.py, ensure the field is defined: age = models.IntegerField()",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use model's meta to list fields",
      "success_rate": 0.9,
      "how": "User._meta.get_fields() to see available fields.",
      "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": "2024-05-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}