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

400 Bad request #4

Open
jacopsd opened this issue Apr 20, 2018 · 0 comments
Open

400 Bad request #4

jacopsd opened this issue Apr 20, 2018 · 0 comments

Comments

@jacopsd
Copy link

jacopsd commented Apr 20, 2018

Using python 3.6, trying a dry run I get:

rotate-backups-s3 --dry-run --hourly=24 my-bucket
2018-04-20 05:24:10 rotate_backups_s3.cli[8952] INFO Performing a dry run (because of --dry-run option) ..
Traceback (most recent call last):
  File "/home/me/.virtualenvs/EXP3.6/bin/rotate-backups-s3", line 11, in <module>
    load_entry_point('rotate-backups-s3==0.4', 'console_scripts', 'rotate-backups-s3')()
  File "/home/me/.virtualenvs/EXP3.6/lib/python3.6/site-packages/rotate_backups_s3/cli.py", line 205, in main
    ).rotate_backups(bucket, prefix)
  File "/home/me/.virtualenvs/EXP3.6/lib/python3.6/site-packages/rotate_backups_s3/__init__.py", line 131, in rotate_backups
    bucket = self.conn.get_bucket(bucketname)
  File "/home/me/.virtualenvs/EXP3.6/lib/python3.6/site-packages/boto/s3/connection.py", line 509, in get_bucket
    return self.head_bucket(bucket_name, headers=headers)
  File "/home/me/.virtualenvs/EXP3.6/lib/python3.6/site-packages/boto/s3/connection.py", line 556, in head_bucket
    response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 400 Bad Request

Any clue? Boto3 commands do work

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

1 participant