{
  "id": "go/grpc-malformed-response",
  "signature": "rpc error: code = Internal desc = grpc: error unmarshalling response: proto: cannot parse invalid wire-format data",
  "signature_zh": "rpc 错误：代码 = Internal 描述 = grpc：响应反序列化错误：proto：无法解析无效的 wire-format 数据",
  "regex": "rpc\\ error:\\ code\\ =\\ Internal\\ desc\\ =\\ grpc:\\ error\\ unmarshalling\\ response:\\ proto:\\ cannot\\ parse\\ invalid\\ wire\\-format\\ data",
  "domain": "go",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "The server sent a response that is not a valid protobuf message, possibly due to a bug in the server's serialization or a corrupted network stream.",
  "root_cause_type": "generic",
  "root_cause_zh": "服务器发送的响应不是有效的 protobuf 消息，可能是由于服务器序列化错误或网络流损坏。",
  "versions": [
    {
      "version": "1.13",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Ignore the error and retry with the same request",
      "why_fails": "If the server has a bug, it will likely produce the same malformed response.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a different protobuf library",
      "why_fails": "The wire format is standard; the issue is likely in the server's generation.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check the server's protobuf version and regenerate code",
      "success_rate": 0.85,
      "how": "protoc --go_out=. --go-grpc_out=. your.proto",
      "condition": "",
      "sources": []
    },
    {
      "action": "Enable gRPC max receive message size on the client",
      "success_rate": 0.8,
      "how": "grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(10*1024*1024))",
      "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.82,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-01-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}