Getting 403 Forbidden from Spaces when using CURL from droplet

I’m downloading images from my spaces using CURL on a droplet. It was working for awhile but now I’m getting a 403 Forbidden response. I’ve tried setting the CORS policy to * and headers to *, but it doesn’t seem to work. It’s like spaces has IP blocked my server. Is there a whitelist somewhere I’m not seeing? What should I do?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello, @teel002

Have you tried to purge the cache if you have the CDN option enabled on your Space? Also in the CORS Configurations make sure you have the GET method allowed as well.

If this is not working I will recommend you to contact our support team and they will assist you with the issue.

Hope that helps!

Regards, Alex