{
  "id": "python/aiohttp-multipart-parse-error",
  "signature": "aiohttp.multipart.MultipartError: Could not find boundary in multipart body",
  "signature_zh": "aiohttp多部分错误：在多部分正文中找不到边界",
  "regex": "aiohttp\\.multipart\\.MultipartError:\\ Could\\ not\\ find\\ boundary\\ in\\ multipart\\ body",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "The multipart request body is malformed or missing the boundary parameter.",
  "root_cause_type": "generic",
  "root_cause_zh": "多部分请求体格式错误或缺少边界参数。",
  "versions": [
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the server expects a specific boundary, it won't match.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The data cannot be parsed, leading to incomplete processing.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "writer = aiohttp.MultipartWriter(); part = payload; writer.append(part); await session.post(url, data=writer)",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "headers = {'Content-Type': 'multipart/form-data; boundary=myboundary'}; data = '--myboundary...'",
      "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.8,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-04-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}