Create user fail with "Error: Write:users is unauthorized."

I can replicate it with influxdb:

version=2.0.7 commit=2a45f0c037 build_date=2021-06-04T19:17:40Z

and influx cli:

Influx CLI 2.0.7 (git: 2a45f0c037) build_date: 2021-06-04T19:17:40Z

Not sure what is the cause, but if you take a look at tokens Summary of access permissions for users permissions you should see something like “users-” while for the main token you get just “users”, the same is true for “orgs”.

Maybe this has something to do with the error.