diff --git a/lib/services/access_request.go b/lib/services/access_request.go index 19a9c33bd8064..fd7ee8e9cb225 100644 --- a/lib/services/access_request.go +++ b/lib/services/access_request.go @@ -110,7 +110,7 @@ func ValidateAccessRequestClusterNames(cg ClusterGetter, ar types.AccessRequest) } if len(invalidClusters) > 0 { return trace.NotFound("access request contains invalid or unknown cluster names: %v", - strings.Join(invalidClusters, ", ")) + strings.Join(apiutils.Deduplicate(invalidClusters), ", ")) } return nil }