Question

rclone NoSuchKey status code: 404

Posted January 13, 2021 444 views
APIStorage

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
envauth = false
access
keyid = ****
secret
access_key = ***
endpoint = fra1.digitaloceanspaces.com

rclone mkdir tg:test2
rclone copy sample tg:test2

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.

×
Submit an Answer
1 answer

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

by Brian Boucheron
DigitalOcean Spaces is an object storage service designed to make it easy and cost effective to store and serve large amounts of data. In this guide, we will cover how to migrate data between Spaces regions, by using…