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
demandé il y a 3 ans342 vues
1 réponse
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
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions