Question
Access denied for new file uploaded to Spaces when accessing via custom Subdomain and Edge URL
Hey,
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.
×
I am getting same in case of GIF and JPG. Please share details if you solved it.
In my case only SUBDOMAIN not working. Origin and Edge both working.
When trying to access file via subdomain getting permission error, even i set permission as public-read.
I tested other file format. VIDEO and MP3 working well. Only issue with JPG and GIF
Please share if you have any solution
same issue with jpeg images - works at origin but gives error when edge url is accessed… Anyone here can help???