{"record":{"id":"1e0a079cef4b6814","repo":"temporalio/temporal","slug":"failed-to-determine-nexus-operation-scheduled-even","errorCode":null,"errorMessage":"failed to determine Nexus operation scheduled event ID: %w","messagePattern":"failed to determine Nexus operation scheduled event ID: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"service/history/api/describeworkflow/api.go","lineNumber":745,"sourceCode":"\t\t\tTaskGroup:   nexusoperations.TaskTypeInvocation,\n\t\t\tNamespaceID: namespaceID.String(),\n\t\t\tDestination: op.Endpoint,\n\t\t})\n\t\tif cb.State() != gobreaker.StateClosed {\n\t\t\tstate = enumspb.PENDING_NEXUS_OPERATION_STATE_BLOCKED\n\t\t\tblockedReason = \"The circuit breaker is open.\"\n\t\t}\n\t}\n\n\tcancellationInfo, err := buildNexusOperationCancellationInfo(namespaceID, node, op, outboundQueueCBPool)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\t// We store nexus operations in the tree by their string formatted scheduled event ID.\n\tscheduledEventID, err := strconv.ParseInt(node.Key.ID, 10, 64)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to determine Nexus operation scheduled event ID: %w\", err)\n\t}\n\n\treturn &workflowpb.PendingNexusOperationInfo{\n\t\tEndpoint:  op.Endpoint,\n\t\tService:   op.Service,\n\t\tOperation: op.Operation,\n\t\t// TODO(bergundy): Remove this fallback after the 1.27 release.\n\t\tOperationId:             op.OperationToken,\n\t\tOperationToken:          op.OperationToken,\n\t\tScheduledEventId:        scheduledEventID,\n\t\tScheduleToCloseTimeout:  op.ScheduleToCloseTimeout,\n\t\tScheduleToStartTimeout:  op.ScheduleToStartTimeout,\n\t\tStartToCloseTimeout:     op.StartToCloseTimeout,\n\t\tScheduledTime:           op.ScheduledTime,\n\t\tState:                   state,\n\t\tAttempt:                 op.Attempt,\n\t\tLastAttemptCompleteTime: op.LastAttemptCompleteTime,\n\t\tLastAttemptFailure:      op.LastAttemptFailure,","sourceCodeStart":727,"sourceCodeEnd":763,"githubUrl":"https://github.com/temporalio/temporal/blob/bde624efd13fbd3843654058db6d9c716166318b/service/history/api/describeworkflow/api.go#L727-L763","documentation":"Error \"failed to determine Nexus operation scheduled event ID: %w\" thrown in temporalio/temporal.","triggerScenarios":"Thrown at service/history/api/describeworkflow/api.go:745 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"}