Question

rclone NoSuchKey status code: 404

Hi I configured rclone to connect it to my digital ocean space. Unfortunately I get an error like 404 NoSuchKey I have two spaces key ( key and the secret key)

What Does key it require ? Thank [tg] type = s3 provider = DigitalOcean env_auth = false access_key_id = **** secret_access_key = *** endpoint = fra1.digitaloceanspaces.com

rclone mkdir tg:test2 rclone copy sample tg:test2

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @JW2049

Your rclone configuration file should look like this:

[spaces-sfo2]
type = s3
env_auth = false
access_key_id = your_spaces_access_key
secret_access_key = your_spaces_secret_key
endpoint = sfo2.digitaloceanspaces.com
acl = private

we set the access_key_id and secret_access_key variables to our Spaces access key and secret key, respectively. Be sure to change the values to the credentials associated with your account.

You can check the values from your DigitalOcean account. I will recommend you to check our tutorial on How To Transfer DigitalOcean Spaces Between Regions Using Rclone:

https://www.digitalocean.com/community/tutorials/how-to-transfer-digitalocean-spaces-between-regions-using-rclone#configuring-rclone

Regards, Alex