diff --git a/beacon-chain/rpc/eth/helpers/sync.go b/beacon-chain/rpc/eth/helpers/sync.go index a22f0e729..c3a355bf4 100644 --- a/beacon-chain/rpc/eth/helpers/sync.go +++ b/beacon-chain/rpc/eth/helpers/sync.go @@ -28,7 +28,7 @@ func ValidateSync(ctx context.Context, syncChecker sync.Checker, headFetcher blo err := grpc.AppendCustomErrorHeader(ctx, syncDetailsContainer) if err != nil { return status.Errorf( - codes.InvalidArgument, + codes.Internal, "Syncing to latest head, not ready to respond. Could not prepare sync details: %v", err, )