{"record":{"id":"46e7bf27a410e9e2","repo":"grpc-ecosystem/grpc-gateway","slug":"no-field-q-found-in-s","errorCode":null,"errorMessage":"no field %q found in %s","messagePattern":"no field %q found in (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/descriptor/services.go","lineNumber":346,"sourceCode":"\t\t\tf := result[i-1].Target\n\t\t\tswitch f.GetType() {\n\t\t\tcase descriptorpb.FieldDescriptorProto_TYPE_MESSAGE, descriptorpb.FieldDescriptorProto_TYPE_GROUP:\n\t\t\t\tvar err error\n\t\t\t\tmsg, err = r.LookupMsg(msg.FQMN(), f.GetTypeName())\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn nil, err\n\t\t\t\t}\n\t\t\tdefault:\n\t\t\t\treturn nil, fmt.Errorf(\"not an aggregate type: %s in %s\", f.GetName(), path)\n\t\t\t}\n\t\t}\n\n\t\tif grpclog.V(2) {\n\t\t\tgrpclog.Infof(\"Lookup %s in %s\", c, msg.FQMN())\n\t\t}\n\t\tf := lookupField(msg, c)\n\t\tif f == nil {\n\t\t\treturn nil, fmt.Errorf(\"no field %q found in %s\", path, root.GetName())\n\t\t}\n\t\tresult = append(result, FieldPathComponent{Name: c, Target: f})\n\t}\n\treturn result, nil\n}\n","sourceCodeStart":328,"sourceCodeEnd":352,"githubUrl":"https://github.com/grpc-ecosystem/grpc-gateway/blob/a58a4436a376a4bcc7d8f10c4d4f919a8438bba9/internal/descriptor/services.go#L328-L352","documentation":"Field-resolution error from Registry.resolveFieldPath: a component of the dotted field path does not match any field of the message currently being descended (lookupField returned nil). The error reports the whole requested path and the root message name; the faulting input is a misspelled or nonexistent field name in an HttpRule path/selector expression.","triggerScenarios":"Thrown at internal/descriptor/services.go:346 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Correct the field name spelling/casing in the HttpRule path template.","Regenerate descriptors so the message definition is current.","Confirm the field exists in the request message and is not filtered by registry config."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a58a4436a376a4bcc7d8f10c4d4f919a8438bba9","analyzedAt":"2026-09-02T10:28:31.537Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T16:17:10.729Z"}