Error while creating bucket in influx CLI

Hi,

When I try to create a bucket in CLI, it is showing an error as “Organization not found”. But when I try to see by using the command influx config list, it is displaying the organization name.

Regards
Sudheer

Please copy and paste (not screenshots):

  1. The command you are entering and the error you see.

  2. The (appropriate section of the) output from ‘influx config list’

Antony.

Hi,

I am using influx 2.1 version windows OS.
I am entering the below command in CLI to see the Org
influx config list

It is working fine. When I try to create bucket using influx bucket create --name bucket1. it is showing error as org not found

Regards
Sudheer

Try:

influx bucket create -n BucketName -o MyOrg -r 7d

You need to specify the Organisation to which the bucket will belong, plus the
Retention Policy.

Antony.

Hi,

Still the same error I am getting.

Regards
Sudheer

Unless there is something secret about the name of your organisation, please
can you show us:

  1. The part of the output from “influx config list” which shows the organisation
    name

  2. The exact command you are typing to create the new bucket.

Thanks,

Antony.