Spaces returning Forbidden 403 when trying to upload with Laravel

Posted June 30, 2020 1.9k views

It seems like DO Spaces is blocking my IP or something like that. How can I solve it? I’m using Laravel to upload a file to DO Space

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.

Submit an Answer
1 answer

Hi there @luismatos,

I could suggest following step 5 from this tutorial here on how to integrate an S3-Compatible Object Storage into the Laravel:

Hope that this helps!

by Bobby Iliev
by Erika Heidi
Data persistence and file storage represent two of the biggest challenges when horizontally scaling web applications. This is mainly due to the fact that it is hard to maintain consistency of variable data between multiple application nodes. A practical way of meeting these demands is by using managed databases and object storage. In this guide, we will update an existing Laravel 6 application to use a managed MySQL database and an S3-compatible object store.