Skip to content Skip to sidebar Skip to footer

Getting Boto.exception.s3responseerror: S3responseerror: 403 Forbidden When Uploading File

There are a few other questions on this issue: boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden S3ResponseError: S3ResponseError: 403 Forbidden S3ResponseError: 403 F

Solution 1:

This will also happen if your machine's time settings are incorrect

Solution 2:

It looks like that you do not have the right to write on this bucket. What is the bucket policy? Can you make sure that this IAM user can put on this bucket?

Solution 3:

I had this issue too where I tried validate=False, and ntpdate, and giving "Authenticated Users" the permission to upload/delete on AWS. My resolution is probably rare, but just in case anyone else did this:

I started running my Django app with credentials in my environment for my bucket 'xyz'. Then I changed the credentials to upload to my friend's bucket 'abc'. There was a mismatch between these credentials, so all I needed to do was restart gunicorn.

Post a Comment for "Getting Boto.exception.s3responseerror: S3responseerror: 403 Forbidden When Uploading File"