{
  "id": "python/pydantic-url-parsing-error",
  "signature": "pydantic.errors.UrlError: Invalid URL",
  "signature_zh": "pydantic.errors.UrlError: 无效的 URL",
  "regex": "pydantic\\.errors\\.UrlError:\\ Invalid\\ URL",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "Using HttpUrl or AnyUrl type, the input string is not a valid URL (e.g., missing scheme, malformed).",
  "root_cause_type": "generic",
  "root_cause_zh": "使用 HttpUrl 或 AnyUrl 类型时，输入字符串不是有效的 URL（例如缺少协议、格式错误）。",
  "versions": [
    {
      "version": "2.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "URL must have scheme for HttpUrl.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "URLs cannot contain spaces.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Ensure full URL: 'https://example.com'",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Use AnyUrl with allowed_schemes 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.87,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-03-25",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}