{"record":{"id":"697eee344e2a4ea8","repo":"hyperledger/fabric","slug":"only-endorser-transactions-are-supported-provided-697eee","errorCode":null,"errorMessage":"Only Endorser Transactions are supported, provided type %d","messagePattern":"Only Endorser Transactions are supported, provided type (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/handlers/validation/builtin/v13/validation_logic.go","lineNumber":141,"sourceCode":"\t\treturn nil, err\n\t}\n\n\t// ...and the payload...\n\tpayl, err := protoutil.UnmarshalPayload(env.Payload)\n\tif err != nil {\n\t\tlogger.Errorf(\"VSCC error: GetPayload failed, err %s\", err)\n\t\treturn nil, err\n\t}\n\n\tchdr, err := protoutil.UnmarshalChannelHeader(payl.Header.ChannelHeader)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\t// validate the payload type\n\tif common.HeaderType(chdr.Type) != common.HeaderType_ENDORSER_TRANSACTION {\n\t\tlogger.Errorf(\"Only Endorser Transactions are supported, provided type %d\", chdr.Type)\n\t\terr = fmt.Errorf(\"Only Endorser Transactions are supported, provided type %d\", chdr.Type)\n\t\treturn nil, err\n\t}\n\n\t// ...and the transaction...\n\ttx, err := protoutil.UnmarshalTransaction(payl.Data)\n\tif err != nil {\n\t\tlogger.Errorf(\"VSCC error: GetTransaction failed, err %s\", err)\n\t\treturn nil, err\n\t}\n\n\tcap, err := protoutil.UnmarshalChaincodeActionPayload(tx.Actions[actionPosition].Payload)\n\tif err != nil {\n\t\tlogger.Errorf(\"VSCC error: GetChaincodeActionPayload failed, err %s\", err)\n\t\treturn nil, err\n\t}\n\n\tpRespPayload, err := protoutil.UnmarshalProposalResponsePayload(cap.Action.ProposalResponsePayload)\n\tif err != nil {","sourceCodeStart":123,"sourceCodeEnd":159,"githubUrl":"https://github.com/hyperledger/fabric/blob/2736b63f8fd5932511d56fe68b7039d15977f7f6/core/handlers/validation/builtin/v13/validation_logic.go#L123-L159","documentation":"extractValidationArtifacts checked the payload's channel header type and it is not HeaderType_ENDORSER_TRANSACTION. VSCC (v1.3) only validates endorser transactions, so any other header type is rejected with the offending numeric type.","triggerScenarios":"Thrown at core/handlers/validation/builtin/v13/validation_logic.go:141 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Submit only endorser transactions through this validation path","Route config/other transaction types to their own validators"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2736b63f8fd5932511d56fe68b7039d15977f7f6","analyzedAt":"2026-09-04T08:52:36.465Z","contentChangedAt":"2026-09-04T08:52:36.465Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}