{
  "id": "python/django-file-upload-too-large",
  "signature": "django.core.exceptions.RequestDataTooBig: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE.",
  "signature_zh": "请求数据过大错误：请求体超过 settings.DATA_UPLOAD_MAX_MEMORY_SIZE。",
  "regex": "django\\.core\\.exceptions\\.RequestDataTooBig:\\ Request\\ body\\ exceeded\\ settings\\.DATA_UPLOAD_MAX_MEMORY_SIZE\\.",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "Uploaded file size exceeds the limit defined in DATA_UPLOAD_MAX_MEMORY_SIZE.",
  "root_cause_type": "generic",
  "root_cause_zh": "上传文件大小超过 DATA_UPLOAD_MAX_MEMORY_SIZE 中定义的限制。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Setting DATA_UPLOAD_MAX_MEMORY_SIZE=0 disables the limit but can cause memory exhaustion.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Only increasing FILE_UPLOAD_MAX_MEMORY_SIZE doesn't affect request body limit.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Increase DATA_UPLOAD_MAX_MEMORY_SIZE = 10485760 (10MB) in settings.py.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Use streaming uploads or chunked uploads to handle large files.",
      "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": "2025-06-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}