evoke commands fail

evoke commands fail

83
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:51 PM


Symptom


After executing one of the following commands `evoke variable ..`, `evoke proxy ..`, or `evoke list` the following error is returned:

```
error: invalid number of elements (0 for 1..2)

```



Environment


DAP version 11.7

Cause


The `conjur.conf` is not tolerant to extra spaces/lines for example:

```
CONJUR_ACCOUNT=cybr
ENABLED=true
TRUSTED_PROXIES=127.0.0.1/32
DATABASE_URL=postgres:///conjur
<empty_line>
CONJUR_AUTHENTICATORS=authn,authn-k8s/k8s-cluster1
CONJUR_LOG_LEVEL=info
```
 



Resolution


Please edit the `conjur.conf` file and remove all extra lines or spaces.

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000mUUCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail