Can't create bucket using influx cli

I’m trying to run the following command, after setting up my db and I get this error

Please, what could I be doing wrong?

I also added the organisation’s name. I get this error

Hi,

At first check in the UI what is the organization, token and type the same organization, token in the CLI, then config will be created. After that you can create buckets. I also faced the same issue

Regards
Sudheer

Thanks for your help!

Please can tell me the correct command to type to do this?

Hi,

Please type the below command in CLI

influx config create --active \
  -n config-name \
  -u http://localhost:8086 \
  -t mySuP3rS3cr3tT0keN \
  -o example-org

This is in Windows CLI. Here t is the token.