# Problem with credentials/auth

**URL:** <https://community.influxdata.com/t/problem-with-credentials-auth/27935>\
**Category:** InfluxDB 2\
**Created:** [December 30, 2022, 9:38pm UTC](https://community.influxdata.com/t/problem-with-credentials-auth/27935 "2022-12-30T21:38:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_b](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@chris\_b](https://community.influxdata.com/u/chris_b)\
**Post date:** [December 30, 2022, 9:38pm UTC](https://community.influxdata.com/t/problem-with-credentials-auth/27935/1 "2022-12-30T21:38:09Z")

</div>

Hi,  
I have a problem with my credentials and I’m not able to solve it:  
In the CLI the command `influx bucket list` works as expected (I can see the same bucket as in the Web GUI.  
But listing `org`, `auth` and `user` results in empty lists.

So I thought: Maybe my credentials got corrupted (I started this instance with InfluxDB 1.x and am now at the current version 2.6).  
I created a new operator token with `influxd recovery auth create-operator` but this token seems to be useless. When trying `influx org list -t THE_OPERATOR_TOKEN` I just get an error 401 (unathorized access)

How can I regain a token, that can execute all operations?

Thanks

---

<div class="post-metadata">

**Author:** ![chris\_b](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@chris\_b](https://community.influxdata.com/u/chris_b)\
**Post date:** [December 30, 2022, 10:05pm UTC](https://community.influxdata.com/t/problem-with-credentials-auth/27935/2 "2022-12-30T22:05:01Z")

</div>

Nevermind I solved my issue:  
when using the `influxd` command it is mandatory to also use the option `--bolt-path` because the default value is useless. In my case (Debian) I had to use `--bolt-path /var/lib/influxdb/influxd.bolt`  
The default value creates a new influxd.bolt file in the user home which is not very helpful.

I would suggest to make the --bolt-path a required option when using `influxd`.
