Skip to content

Failed to load resource: the server responded with a status of 403 (Forbidden) aws django

0

I created a bucket on s3 and i succcesfully pushed the static folder to the bucket. But i started getting Failed to load resource: the server responded with a status of 403 (Forbidden) any time i try to access the site via localhost http://127.0.0.1:8000/

1 Answer
0

I would take a look at the permission level you have set to your bucket and contents. By default objects in Amazon S3 are private so you may need to make some changes to the permissions depending on who you want to grant access to your files. Take a look here

Also some permissions are associated with the Bucket and some with the actual contents of the Bucket. You can find additional guidance and examples here on how to define a policy.

AWS
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.