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
질문됨 3년 전342회 조회
1개 답변
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
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠