Skip to content
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

botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied #7

Open
jimishio opened this issue Aug 9, 2016 · 5 comments

Comments

@jimishio
Copy link

jimishio commented Aug 9, 2016

As per Readme.md I have done all the things mentioned over there still error exists.

Here is my ~/.aws/credentials (credentials are double checked with amazon user) :

[default]
aws_access_key_id = 'AKIAIWX3MVLXSxxxxTQ'
aws_secret_access_key = 'CqERo84v2X9M0OyR8I2T+wEA0hi/siIxxxxxx'

changed bucket name getting created by sample python script to jimish

@ Amazon console : user has access of AmazonS3FullAccess

Issue is still there. Please help

@LeoGSA
Copy link

LeoGSA commented Oct 4, 2017

I confirm. Issue is still here. I can list buckets, I can upload to buckets. But I can't create a bucket. I'm also getting this error.
Traceback (most recent call last):
File "D:\aws-python-sample-master\test_s3.py", line 33, in
create_bucket('Leo_bucket')
File "D:\aws-python-sample-master\test_s3.py", line 28, in create_bucket
s3.create_bucket(Bucket=bucket_name)
File "c:\Python34\lib\site-packages\botocore\client.py", line 312, in _api_cal
l
return self._make_api_call(operation_name, kwargs)
File "c:\Python34\lib\site-packages\botocore\client.py", line 601, in _make_ap
i_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling t
he CreateBucket operation: Access Denied

@jsr03126
Copy link

jsr03126 commented Mar 28, 2018

Great

@bprager
Copy link

bprager commented May 10, 2018

Might not be related, but I just resolved an Ansible task using boto by running the script with sudo permission. The "Access denied" you get could be a local 'access denied'?

@ogyalcin
Copy link

@bprager who would have thought! That fixed my problem on OSX. Thanks

@NigarumOvum
Copy link

botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the DeleteObject operation: Access Denied

I'm trying to deploy in heroku at this error appears, but in local development I'm able to connect RDS & S3 bucket.

If someone knows how to advance from here please save my day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants