kgfnGetConnDetails requires 4 parameters at /u01/app/18.0.0.0/grid/lib/asmcmdbase.pm line 6096

[grid@exa1~]$ asmcmd
kgfnGetConnDetails requires 4 parameters at /u01/app/18.0.0.0/grid/lib/asmcmdbase.pm line 6096.
[grid@exa1 ~]$ /u01/app/18.0.0.0/grid/bin/crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [18.0.0.0.0]
[grid@exa1~]$ /u01/app/18.0.0.0/grid/bin/crsctl query crs softwarepatch
Oracle Clusterware patch level on node exa1is [1180628535].