Lenses CLI: invalid input field:connection, error:Connection does not exist

Hello folks!

We are using Lenses CLI 5.5.5 for importing user groups.

This is how our yaml looks like

name: crp
description: CRP Lenses Group
dataNamespaces:
- wildcards:
  - crp_.*
  - crp-*
  permissions:
  - QueryTopic
  - ShowTopic
  - ViewSchema
  system: Kafka
applicationPermissions:
- ManageConnectors
- ViewConnectors
- ViewKafkaConsumers
- ViewSchemaRegistry
- ViewSQLProcessors
- ViewTopology
adminPermissions:
- ViewKafkaSettings
connectClustersPermissions: []
userAccounts: 0
serviceAccounts: 0 

When executing cli, we see following issue

2025-08-25 11:41:43 [ERRO] 2025/08/25 09:41 Error updating user group [fcrp]. [invalid input field:connection, error:Connection does not exist]
2025-08-25 11:41:43 [ERRO] 2025/08/25 09:41 Failed to load user groups. [invalid input field:connection, error:Connection does not exist]
2025-08-25 11:41:43 invalid input field:connection, error:Connection does not exist

Do you know what might be the issue?
Thanks!

Hi @superbrain_bug

I believe the issue is in this line

system: Kafka

can you try replace it with:

connection: kafka

Let us know whether it works!

Ivan

3 Likes

This is it! Thanks, it solved the issue!

1 Like