Access denied for new file uploaded to Spaces when accessing via custom Subdomain and Edge URL

Posted March 3, 2020 137 views
DigitalOcean Spaces


I have the issue that when accessing newly uploaded files via the custom subdomain or edge url for my spaces CDN, I get a access denied error. The file is fine when accessed via the Origin URL, but the edge and custom domain urls give me a XML response which says access denied. The permission is correctly set.

After issuing a purge request for that file it works.

How can I fix this?

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.

1 answer

Having the same issue. It only happens on 50% of the files I upload.

Submit an Answer