Hi,
I have upload a file to Space (without problems) with ACL set to “public-read”. Now when I enter URL in the browser https://<bucket-name>.fra1.digitaloceanspaces.com/user_avatars/<file-name> the file is displayed properly. But when I try to get it using AWS SDK I get:
Error executing "GetObject" on "https://<bucket-name>.fra1.digitaloceanspaces.com/<file-name>"; AWS HTTP error: Client error: `GET https://<bucket-name>.fra1.digitaloceanspaces.com/<file-name>` resulted in a `403 Forbidden` response (client): 403 Forbidden (Request-ID: tx0000000000000b3e20cb2-0061c5f855-25a456e3-fra1b) - SignatureDoesNotMatchtx0000000000000b3e20cb2-0061c5f855-25a456e3-fra1b25a456e3-fra1b-fra1-zg02
I don’t know what I’m doing wrong.
P.S. File was uploaded as “private” but then changed manually in spaces UI to be “public” if that matters.
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!
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.