S3 buckets aws command error

I am trying to back up my files to s3 bucket but I have the following error:

#show the buckets
aws --profile=climb --endpoint=https://s3.climb.ac.uk/ s3 ls

#showed 3 bucket names

#transfer the files
aws --profile=climb --endpoint=https://s3.climb.ac.uk/ s3 cp my_file.txt s3://bucket_name/my_file.txt

#here is the error message
upload failed: ./my_file.txt to s3://bucket_name/my_file.txt argument of type ‘NoneType’ is not iterable**

Anyone has any idea?

Thanks,
Dorohty

That could mean several things, does this bucket definitely exist? Exactly as it appears with s3 ls? Second question, do you have the rights to put files there?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.