# \[Documentation\] Potential Documentation Error

**URL:** <https://drone.discourse.group/t/documentation-potential-documentation-error/10792>\
**Category:** Drone Bugs\
**Created:** [June 18, 2020, 5:34pm UTC](https://drone.discourse.group/t/documentation-potential-documentation-error/10792 "2020-06-18T17:34:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![czeigler](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/czeigler/32/5281_2.png) [@czeigler](https://drone.discourse.group/u/czeigler)\
**Post date:** [June 18, 2020, 5:34pm UTC](https://drone.discourse.group/t/documentation-potential-documentation-error/10792/1 "2020-06-18T17:34:52Z")

</div>

I was installing Drone Runner Exec and the documentation here [https://docs.drone.io/runner/exec/installation/linux/](https://docs.drone.io/runner/exec/installation/linux/) says to set these variables in the config file:

```
DRONE_RPC_PROTO=https
DRONE_RPC_HOST=drone.company.com
DRONE_RPC_SECRET=super-duper-secret

```

However upon running it for the first time I got this error in my log:

```
required key CLIENT_DRONE_RPC_HOST missing value

```

When I changed the variable name to match what the error message said (also changed DRONE\_RPC\_PROTO to CLIENT\_DRONE\_RPC\_PROTO) it worked.

I’d be happy to submit a PR fixing the documentation if someone can point me to the repo for that documentation.

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [June 18, 2020, 5:47pm UTC](https://drone.discourse.group/t/documentation-potential-documentation-error/10792/2 "2020-06-18T17:47:02Z")

</div>

hmm, the documentation is correct. I was able to run the binary directly when setting these parameters:

```nohighlight
$ DRONE_RPC_HOST=localhost:8080 DRONE_RPC_SECRET=xxx drone-runner-exec
INFO[0000] starting the server addr=":3000"

```

I then removed one of the variables and I got this error message:

```nohighlight
DRONE_RPC_HOST=localhost:8080 drone-runner-exec
drone-runner-exec: error: required key CLIENT_DRONE_RPC_SECRET missing value, try --help

```

It appears to be an issue with [envconfig](https://github.com/kelseyhightower/envconfig) printing the wrong variable name on error. However, this issue does not seem to prevent things from working properly when the variable is provided as expected.

* * *

EDIT: confirmed the library prints the wrong error message

> <https://github.com/kelseyhightower/envconfig/issues/90>
>
> Let's say I define a bunch of variables but one of them has an override e.g.
> LogLevel string desc:"Log level override" envconfig:"LOG\_LEVEL"
> then...
