diff --git a/src/client/client.go b/src/client/client.go
index <HASH>..<HASH> 100644
--- a/src/client/client.go
+++ b/src/client/client.go
@@ -146,7 +146,7 @@ func NewOnUserMachineWithConcurrency(reportMetrics bool, prefix string, maxConcu
 	if cfg.UserID != "" && reportMetrics {
 		client.metricsUserID = cfg.UserID
 	}
-	if cfg.V1.SessionToken != "" {
+	if cfg.V1 != nil && cfg.V1.SessionToken != "" {
 		client.authenticationToken = cfg.V1.SessionToken
 	}
 	return client, nil
check if config has "v1" field set