{"record":{"id":"d9ce8d93ecb6b7fc","repo":"gravitational/teleport","slug":"proto-identitycenteraccountassignment-illegal-ta","errorCode":null,"errorMessage":"proto: IdentityCenterAccountAssignment: illegal tag %d (wire type %d)","messagePattern":"proto: IdentityCenterAccountAssignment: illegal tag (.+?) \\(wire type (.+?)\\)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"api/client/proto/authservice.pb.go","lineNumber":60959,"sourceCode":"\t\t\t\treturn ErrIntOverflowAuthservice\n\t\t\t}\n\t\t\tif iNdEx >= l {\n\t\t\t\treturn io.ErrUnexpectedEOF\n\t\t\t}\n\t\t\tb := dAtA[iNdEx]\n\t\t\tiNdEx++\n\t\t\twire |= uint64(b&0x7F) << shift\n\t\t\tif b < 0x80 {\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t\tfieldNum := int32(wire >> 3)\n\t\twireType := int(wire & 0x7)\n\t\tif wireType == 4 {\n\t\t\treturn fmt.Errorf(\"proto: IdentityCenterAccountAssignment: wiretype end group for non-group\")\n\t\t}\n\t\tif fieldNum <= 0 {\n\t\t\treturn fmt.Errorf(\"proto: IdentityCenterAccountAssignment: illegal tag %d (wire type %d)\", fieldNum, wire)\n\t\t}\n\t\tswitch fieldNum {\n\t\tcase 1:\n\t\t\tif wireType != 2 {\n\t\t\t\treturn fmt.Errorf(\"proto: wrong wireType = %d for field Kind\", wireType)\n\t\t\t}\n\t\t\tvar stringLen uint64\n\t\t\tfor shift := uint(0); ; shift += 7 {\n\t\t\t\tif shift >= 64 {\n\t\t\t\t\treturn ErrIntOverflowAuthservice\n\t\t\t\t}\n\t\t\t\tif iNdEx >= l {\n\t\t\t\t\treturn io.ErrUnexpectedEOF\n\t\t\t\t}\n\t\t\t\tb := dAtA[iNdEx]\n\t\t\t\tiNdEx++\n\t\t\t\tstringLen |= uint64(b&0x7F) << shift\n\t\t\t\tif b < 0x80 {","sourceCodeStart":60941,"sourceCodeEnd":60977,"githubUrl":"https://github.com/gravitational/teleport/blob/1283425b60ec5f60d509ba4c791183d452923ff7/api/client/proto/authservice.pb.go#L60941-L60977","documentation":"Generic protobuf decoding guard in the generated Unmarshal for IdentityCenterAccountAssignment. It fires when the binary wire data contains a field tag that is zero or negative (fieldNum <= 0), which is illegal in the protobuf wire format — a symptom of corrupted, maliciously crafted, or wrongly-versioned serialized bytes rather than a valid message.","triggerScenarios":"Thrown at api/client/proto/authservice.pb.go:60959 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify sender and receiver use compatible protobuf definitions/versions of authservice","Check for truncated or corrupted payloads and re-send the request"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1283425b60ec5f60d509ba4c791183d452923ff7","analyzedAt":"2026-09-02T04:06:41.601Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}