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
feita há 3 anos342 visualizações
1 Resposta
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
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas