{"record":{"id":"46afd81acbca7554","repo":"temporalio/temporal","slug":"invalid-checksum-payload-version-v","errorCode":null,"errorMessage":"invalid checksum payload version %v","messagePattern":"invalid checksum payload version (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"service/history/workflow/checksum.go","lineNumber":32,"sourceCode":"const (\n\tmutableStateChecksumPayloadV1 = int32(1)\n)\n\nfunc generateMutableStateChecksum(ms historyi.MutableState) (*persistencespb.Checksum, error) {\n\tpayload := newMutableStateChecksumPayload(ms)\n\tcsum, err := checksum.GenerateCRC32(payload, mutableStateChecksumPayloadV1)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn csum, nil\n}\n\nfunc verifyMutableStateChecksum(\n\tms historyi.MutableState,\n\tcsum *persistencespb.Checksum,\n) error {\n\tif csum.Version != mutableStateChecksumPayloadV1 {\n\t\treturn fmt.Errorf(\"invalid checksum payload version %v\", csum.Version)\n\t}\n\tpayload := newMutableStateChecksumPayload(ms)\n\treturn checksum.Verify(payload, csum)\n}\n\nfunc newMutableStateChecksumPayload(ms historyi.MutableState) *checksumspb.MutableStateChecksumPayload {\n\texecutionInfo := ms.GetExecutionInfo()\n\texecutionState := ms.GetExecutionState()\n\tpayload := &checksumspb.MutableStateChecksumPayload{\n\t\tCancelRequested:              executionInfo.CancelRequested,\n\t\tState:                        executionState.State,\n\t\tLastFirstEventId:             executionInfo.LastFirstEventId,\n\t\tNextEventId:                  ms.GetNextEventID(),\n\t\tLastProcessedEventId:         executionInfo.LastCompletedWorkflowTaskStartedEventId,\n\t\tActivityCount:                executionInfo.ActivityCount,\n\t\tChildExecutionCount:          executionInfo.ChildExecutionCount,\n\t\tUserTimerCount:               executionInfo.UserTimerCount,\n\t\tRequestCancelExternalCount:   executionInfo.RequestCancelExternalCount,","sourceCodeStart":14,"sourceCodeEnd":50,"githubUrl":"https://github.com/temporalio/temporal/blob/bde624efd13fbd3843654058db6d9c716166318b/service/history/workflow/checksum.go#L14-L50","documentation":"Error \"invalid checksum payload version %v\" thrown in temporalio/temporal.","triggerScenarios":"Thrown at service/history/workflow/checksum.go:32 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-08T10:18:20.063Z"}