I’m setting up a file-share/storage and cannot get around this. The file-sharing script is on DO droplet, and ready for API credentials.
I’ve tried every configuration possible (I think). Error the same. Everything works perfectly when utilizing local disc.
Getting this in error logs:
Error executing “ListObjects” on “https://sfo2.digitaloceanspaces.com/https%3A%2F%2Fmedia-spdn.sfo2.digitaloceanspaces.com?prefix=2Lz71G4IIEkR8LKpIqwnMF7oB8Mz6ufWWeCqp3vd%2F2Lz71G4IIEkR8LKpIqwnMF7oB8Mz6ufWWeCqp3vd%2F&max-keys=1&encoding-type=url”; AWS HTTP error: Client error: GET https://sfo2.digitaloceanspaces.com/https%3A%2F%2Fmedia-spdn.sfo2.digitaloceanspaces.com?prefix=2Lz71G4IIEkR8LKpIqwnMF7oB8Mz6ufWWeCqp3vd%2F2Lz71G4IIEkR8LKpIqwnMF7oB8Mz6ufWWeCqp3vd%2F&max-keys=1&encoding-type=url resulted in a 404 Not Found response:
<?xml version=“1.0” encoding=“UTF-8”?><Error><Code>NoSuchBucket</Code><RequestId>tx000000000000020c02053-005c7b5e83-79b1 (truncated…)
NoSuchBucket (client): - <?xml version=“1.0” encoding=“UTF-8”?><Error><Code>NoSuchBucket</Code><RequestId>tx000000000000020c02053-005c7b5e83-79b1a-sfo2a</RequestId><HostId>79b1a-sfo2a-sfo</HostId></Error>
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey friend,
Thank you for asking this question here. It looks like there is an error in your code which is causing the URL of your bucket to look like this:
https://sfo2.digitaloceanspaces.com/https%3A%2F%2Fmedia-spdn.sfo2.digitaloceanspaces.com
Your bucket URL should look more like this:
https://bucketname.sfo2.digitaloceanspaces.com
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.