{
  "id": "go/grpc-internal-status-details",
  "signature": "rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8",
  "signature_zh": "rpc 错误：代码 = Internal 描述 = grpc：序列化时出错：字符串字段包含无效的 UTF-8",
  "regex": "rpc\\ error:\\ code\\ =\\ Internal\\ desc\\ =\\ grpc:\\ error\\ while\\ marshaling:\\ string\\ field\\ contains\\ invalid\\ UTF\\-8",
  "domain": "go",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "A protobuf string field contains bytes that are not valid UTF-8. Protobuf strings must be valid UTF-8; otherwise, marshaling fails.",
  "root_cause_type": "generic",
  "root_cause_zh": "protobuf 字符串字段包含不是有效 UTF-8 的字节。protobuf 字符串必须是有效的 UTF-8；否则序列化会失败。",
  "versions": [
    {
      "version": "1.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "This changes the API contract and may break compatibility.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This corrupts the data and may not be acceptable.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "s = strings.ToValidUTF8(s, \"\")",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Use utf8.ValidString(s) to check before sending.",
      "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.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-08-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}