{
  "id": "grpc/status-details-missing",
  "signature": "UNKNOWN: grpc: Status details missing in response trailer",
  "signature_zh": "未知错误：gRPC：响应尾部缺少状态详细信息",
  "regex": "UNKNOWN: grpc: Status details missing in response trailer",
  "domain": "grpc",
  "category": "protocol_error",
  "subcategory": null,
  "root_cause": "The server sent a gRPC response without the required `grpc-status-details-bin` trailer, which is expected by the client for richer error handling.",
  "root_cause_type": "generic",
  "root_cause_zh": "服务器发送的 gRPC 响应缺少必需的 `grpc-status-details-bin` 尾部，客户端期望该尾部以进行更丰富的错误处理。",
  "versions": [
    {
      "version": "gRPC Go 1.54.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "gRPC Python 1.50.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Retries are unrelated to status details in trailers.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Status details are only in trailers; headers may not contain the full error info.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The issue is not version-specific; it's about whether the server populates the trailer.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Ensure the server sets the `grpc-status-details-bin` trailer using the `google.rpc.Status` proto. Example in Go: `st := status.New(codes.Internal, \"error\").WithDetails(&errdetails.RetryInfo{RetryDelay: &duration.Duration{Seconds: 1}})` then `st.Err()`.",
      "success_rate": 0.85,
      "how": "Ensure the server sets the `grpc-status-details-bin` trailer using the `google.rpc.Status` proto. Example in Go: `st := status.New(codes.Internal, \"error\").WithDetails(&errdetails.RetryInfo{RetryDelay: &duration.Duration{Seconds: 1}})` then `st.Err()`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "On the client, fall back to parsing `grpc-status` and `grpc-message` trailers if details are missing.",
      "success_rate": 0.75,
      "how": "On the client, fall back to parsing `grpc-status` and `grpc-message` trailers if details are missing.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Ensure the server sets the `grpc-status-details-bin` trailer using the `google.rpc.Status` proto. Example in Go: `st := status.New(codes.Internal, \"error\").WithDetails(&errdetails.RetryInfo{RetryDelay: &duration.Duration{Seconds: 1}})` then `st.Err()`.",
    "On the client, fall back to parsing `grpc-status` and `grpc-message` trailers if details are missing."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://grpc.io/docs/guides/error-handling/#error-details",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.8,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2025-02-18",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}