temporalio/temporal · error
%w. provided endpoint version: %v current endpoint version:
Error message
%w. provided endpoint version: %v current endpoint version: %v
What it means
Error "%w. provided endpoint version: %v current endpoint version: %v" thrown in temporalio/temporal.
Source
Thrown at common/persistence/cassandra/nexus_endpoint_store.go:152
}
currentTableVersion, err := getTypedFieldFromRow[int64]("version", previousPartitionStatus)
if err != nil {
return fmt.Errorf("error retrieving current table version: %w", err)
}
if currentTableVersion != request.LastKnownTableVersion {
return fmt.Errorf("%w. provided table version: %v current table version: %v",
p.ErrNexusTableVersionConflict,
request.LastKnownTableVersion,
currentTableVersion)
}
currentVersion, err := getTypedFieldFromRow[int64]("version", previousEndpoint)
if err != nil {
return fmt.Errorf("error retrieving current endpoint version: %w", err)
}
if currentVersion != request.Endpoint.Version {
return fmt.Errorf("%w. provided endpoint version: %v current endpoint version: %v",
p.ErrNexusEndpointVersionConflict,
request.Endpoint.Version,
currentVersion)
}
// This should never happen. This means the request had the correct versions and gocql did not
// return an error but for some reason the update was not applied.
return serviceerror.NewInternal("CreateOrUpdateNexusEndpoint failed.")
}
return nil
}
func (s *NexusEndpointStore) GetNexusEndpoint(
ctx context.Context,
request *p.GetNexusEndpointRequest,
) (*p.InternalNexusEndpoint, error) {
query := s.session.Query(templateGetEndpointByIdQuery, rowTypeNexusEndpoint, request.ID).WithContext(ctx)View on GitHub (pinned to bde624efd1)
When it happens
Trigger: Thrown at common/persistence/cassandra/nexus_endpoint_store.go:152 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of temporalio/temporal@bde624efd1 (2026-09-01).
Data as JSON: /api/errors/9af82757ccc8c883.
Report an issue: GitHub.