What is the root cause of 403 Forbibben error in Prod and how to solve it ?

0

Hello,

I am trying to upload images from my heroku symfony(php) app to my bucket.
Can you help us check the root cause for such issues?
We always run into such S3 bucket access issue. It will be highly appreciated if you can help check for us.

S3Exception: S3ResponseError: 403 Forbidden

<?xml version="1.0" encoding="UTF-8"?>

<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>FJPC9Z4Y44ZEYMST</RequestId><HostId>om6ov6N7LoQNYm1zVn1bQ7g0eHVXhUf3UjmxxSVni3lPk94LSFDJ9tG4nKSFqsyRBGaxWF/FxYI=</HostId></Error>

Here the configurations of my application : https://stackoverflow.com/questions/69391992/why-heroku-symfony-app-fails-on-upload-to-s3

MistaIA
asked 3 years ago337 views
1 Answer
0

I finally got through it. It was lack of permissions at AWS S3 side... So I followed this one https://stackoverflow.com/a/48403192/12248625 then only the first stage of this one [github.com/KnpLabs/Gaufrette/issues/279#issuecomment-289338230]. Hope it will help !

Edited by: MistaIA on Oct 8, 2021 2:59 PM

MistaIA
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.

Guidelines for Answering Questions