S3 Static website not working Error: Expected params.WebsiteConfiguration.RoutingRules to be an Array

0

I am following the aws document to create a static website https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html Getting the error while adding the policy and clicking on save changes. { "Version": "2012-10-17", "Statement": [ { "Sid": "PublicReadGetObject", "Effect": "Allow", "Principal": "", "Action": [ "s3:GetObject" ], "Resource": [ "arn:aws:s3:::panajpoddar/" ] } ] }

ERROR* Unknown Error An unexpected error occurred. API response Expected params.WebsiteConfiguration.RoutingRules to be an Array

Pankaj
질문됨 한 달 전421회 조회
2개 답변
1
수락된 답변

Hello.

Are you trying to set it in the redirect rule instead of the bucket policy?
https://docs.aws.amazon.com/AmazonS3/latest/userguide/how-to-page-redirect.html?icmpid=docs_amazons3_console

Redirect rules are different from bucket policies, so check where to set them.
Bucket policy needs to be set from the permissions tab as shown in the image below.
a

profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
0

Thanks For the solution.

Pankaj
답변함 한 달 전

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

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

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

관련 콘텐츠