Using Spaces, I get a (403) Forbidden error when trying to load an image on my website.

April 7, 2019 356 views
CDN

I have a few files uploaded to my spaces droplet (if that is the correct terminology). When I attempt to access a .jpg image from my website, the console throws a (403) Forbidden error when trying to access it.

Thanks to everyone in advance.

1 Answer

Spaces is DO's Object Storage solution as opposed to Droplet's which is a compute platform :-)

Usually files uploaded to Spaces are private by default. You can chance the setting at a file level for every file you upload. Can you please make sure your files are not uploaded with the default "private" setting? If it is, please switch this to public. You can do this from our cloud portal or via our API.

Have another answer? Share your knowledge.