{
  "id": "unity/unitywebrequest-error-http-413",
  "signature": "UnityWebRequest: HTTP/1.1 413 Request Entity Too Large",
  "signature_zh": "UnityWebRequest：HTTP/1.1 413 请求实体过大",
  "regex": "UnityWebRequest: HTTP/1.1 413 Request Entity Too Large",
  "domain": "unity",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The server rejected the upload or download because the payload exceeds the maximum allowed size configured on the server, often due to large asset bundles or JSON data.",
  "root_cause_type": "generic",
  "root_cause_zh": "服务器拒绝了上传或下载，因为负载超过了服务器配置的最大允许大小，通常是由于过大的资源包或 JSON 数据。",
  "versions": [
    {
      "version": "Unity 2022.3.25f1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Unity 2023.3.0b3",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Unity 2021.3.40f1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Timeout controls how long to wait for a response, not the payload size limit.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The 413 error is about request body size, not the HTTP method.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Compression affects transfer encoding, not the entity size limit.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Split the upload into multiple smaller chunks using a custom chunked upload implementation, or increase the server's max request size (e.g., in ASP.NET set maxRequestBodySize in web.config).",
      "success_rate": 0.9,
      "how": "Split the upload into multiple smaller chunks using a custom chunked upload implementation, or increase the server's max request size (e.g., in ASP.NET set maxRequestBodySize in web.config).",
      "condition": "",
      "sources": []
    },
    {
      "action": "Compress the payload before sending using GZip/Deflate and set Content-Encoding header. Ensure server supports decompression.",
      "success_rate": 0.85,
      "how": "Compress the payload before sending using GZip/Deflate and set Content-Encoding header. Ensure server supports decompression.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Split the upload into multiple smaller chunks using a custom chunked upload implementation, or increase the server's max request size (e.g., in ASP.NET set maxRequestBodySize in web.config).",
    "Compress the payload before sending using GZip/Deflate and set Content-Encoding header. Ensure server supports decompression."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.html",
  "official_doc_section": null,
  "error_code": "413",
  "verification_tier": "ai_generated",
  "confidence": 0.87,
  "fix_success_rate": 0.9,
  "resolvable": "partial",
  "first_seen": "2024-01-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}