-
Notifications
You must be signed in to change notification settings - Fork 186
create_bucket trigger IndexError: list index out of range #403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @Bugazelle, thanks for using our client.
It looks like that your organization name isn't correct. Can you check presents the organization by: orgs = client.organizations_api().find_organizations(org='my-org')
print(orgs) ? Regards |
Hi @bednar , thank you for the suppport I have find the root cause: because of my token is the read/write api token for all bucket. when using the read/write api token, I got the following result:
I think it is still the issue we need to fix |
I think that we have to improve the
|
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce:
run any of the following code, the error triggered
client.buckets_api().create_bucket(bucket_name='my-bycket')
client.buckets_api().create_bucket(bucket_name='my-bycket', org='my-org')
only working if:
client.buckets_api().create_bucket(bucket_name='my-bycket', org='the org id here')
client.buckets_api().create_bucket(bucket_name='my-bycket', org_id='the org id here')
But, seems there is no way from this python client to get the org id
Actual behavior:
The error triggered as bellow
Specifications:
The text was updated successfully, but these errors were encountered: