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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ