{"record":{"id":"13a74d7657b87d4c","repo":"go-kratos/kratos","slug":"unknown-field-kind-v","errorCode":null,"errorMessage":"unknown field kind: %v","messagePattern":"unknown field kind: (.+?)","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"encoding/form/proto_decode.go","lineNumber":232,"sourceCode":"\t\treturn protoreflect.ValueOfFloat32(float32(v)), nil\n\tcase protoreflect.DoubleKind:\n\t\tv, err := strconv.ParseFloat(value, 64) //nolint:mnd\n\t\tif err != nil {\n\t\t\treturn protoreflect.Value{}, err\n\t\t}\n\t\treturn protoreflect.ValueOfFloat64(v), nil\n\tcase protoreflect.StringKind:\n\t\treturn protoreflect.ValueOfString(value), nil\n\tcase protoreflect.BytesKind:\n\t\tv, err := base64.StdEncoding.DecodeString(value)\n\t\tif err != nil {\n\t\t\treturn protoreflect.Value{}, err\n\t\t}\n\t\treturn protoreflect.ValueOfBytes(v), nil\n\tcase protoreflect.MessageKind, protoreflect.GroupKind:\n\t\treturn parseMessage(fd.Message(), value)\n\tdefault:\n\t\tpanic(fmt.Sprintf(\"unknown field kind: %v\", fd.Kind()))\n\t}\n}\n\nfunc parseMessage(md protoreflect.MessageDescriptor, value string) (protoreflect.Value, error) {\n\tvar msg proto.Message\n\tswitch md.FullName() {\n\tcase \"google.protobuf.Timestamp\":\n\t\tif value == nullStr {\n\t\t\tbreak\n\t\t}\n\t\tt, err := time.ParseInLocation(time.RFC3339Nano, value, time.Local)\n\t\tif err != nil {\n\t\t\treturn protoreflect.Value{}, err\n\t\t}\n\t\tmsg = timestamppb.New(t)\n\tcase \"google.protobuf.Duration\":\n\t\tif value == nullStr {\n\t\t\tbreak","sourceCodeStart":214,"sourceCodeEnd":250,"githubUrl":"https://github.com/go-kratos/kratos/blob/668db92c2c001e9552594ba5a8aede8456af6d7e/encoding/form/proto_decode.go#L214-L250","documentation":"Error \"unknown field kind: %v\" thrown in go-kratos/kratos.","triggerScenarios":"Thrown at encoding/form/proto_decode.go:232 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":"668db92c2c001e9552594ba5a8aede8456af6d7e","analyzedAt":"2026-08-16T02:07:20.704Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}