Dreamobjects: Keep getting status code 400 errors


#1

Hello everyone. New to the forum :slightly_smiling_face:
I am trying to use rclone to copy a local linux directory to a bucket on dreamhost. I am using rclone 1.42 on Debian 9 amd64. Here is my rclone.conf with the keys redacted:

[dreamobjects]
type = s3
provider = Dreamhost
env_auth = false
access_key_id = redacted
secret_access_key = redacted
region =
endpoint = objects-us-east-1.dream.io
location_constraint =
acl = “private”

I am trying: rclone copy ~/srcdir dreamobjects:destbucket . I keep getting:

2018/08/01 23:21:59 ERROR : srcdir/hello.txt: Failed to copy: InvalidArgument:
status code: 400, request id: somelongalphanumericid, host id:

Any idea what might be wrong here?


#2

Your config looks good except I don’t think “private” should have quotes around it.

Try removing those and see if it works.

Did you enter the quotes manually?


#3

Thanks. Removing the quotes worked. I am not 100% sure if I put those in manually but I dont think so. I will try running rclone config again and see how I ended up with quotes. Will try and get back on the weekend.


#4

Great, glad it is working. If the configurator is putting stuff with quotes in, I’d like to know! I don’t think it does (I just gave it a quick test and got this) but maybe there is another path which does!

[d]
type = s3
provider = Dreamhost
env_auth = false
access_key_id = test
secret_access_key = test
endpoint = objects-us-west-1.dream.io
acl = private