{"record":{"id":"96515ca4746331ad","repo":"temporalio/temporal","slug":"unsupported-connection-kind-q","errorCode":null,"errorMessage":"unsupported connection kind: %q","messagePattern":"unsupported connection kind: %q","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"common/telemetry/config.go","lineNumber":385,"sourceCode":"}\n\n// UnmarshalYAML loads the state of a generic connection from parsed YAML\nfunc (c *connection) UnmarshalYAML(n *yaml.Node) error {\n\ttype conn connection\n\ttype overlay struct {\n\t\t*conn `yaml:\",inline\"`\n\t\tSpec  yaml.Node `yaml:\"spec\"`\n\t}\n\tobj := overlay{conn: (*conn)(c)}\n\terr := n.Decode(&obj)\n\tif err != nil {\n\t\treturn err\n\t}\n\tswitch c.Kind {\n\tcase \"grpc\":\n\t\tc.Spec = &grpcconn{}\n\tdefault:\n\t\treturn fmt.Errorf(\"unsupported connection kind: %q\", c.Kind)\n\t}\n\treturn obj.Spec.Decode(c.Spec)\n}\n\n// UnmarshalYAML loads the state of a generic exporter from parsed YAML\nfunc (e *exporter) UnmarshalYAML(n *yaml.Node) error {\n\ttype exp exporter\n\ttype overlay struct {\n\t\t*exp `yaml:\",inline\"`\n\t\tSpec yaml.Node `yaml:\"spec\"`\n\t}\n\tobj := overlay{exp: (*exp)(e)}\n\terr := n.Decode(&obj)\n\tif err != nil {\n\t\treturn err\n\t}\n\tdescriptor := fmt.Sprintf(\"%v+%v+%v\", e.Kind.Signal, e.Kind.Model, e.Kind.Protocol)\n\tswitch descriptor {","sourceCodeStart":367,"sourceCodeEnd":403,"githubUrl":"https://github.com/temporalio/temporal/blob/bde624efd13fbd3843654058db6d9c716166318b/common/telemetry/config.go#L367-L403","documentation":"Error \"unsupported connection kind: %q\" thrown in temporalio/temporal.","triggerScenarios":"Thrown at common/telemetry/config.go:385 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bde624efd13fbd3843654058db6d9c716166318b","analyzedAt":"2026-09-01T07:18:39.080Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}