Jhona
Jhona

Reputation: 49

How to fix Access Denied error on AWS Amplify

I am trying to host my web app on AWS Amplify, I compressed my HTML, CSS, and Javascript files on a zip file, and I select the drag and drop option and click deploy, but every time after deploying the app and opening the temporary Domain I get the following message:

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>7JBBK8RRTJF3VHV</RequestId>
<HostId>18ByyhCUEGmmK3Ka9XUzt967ZAvCixtHT0NgL2Nzqby3fxue9e8eauIljm0gulU754gMcV2LoO8=</HostId>
</Error>

Any help?

Upvotes: 1

Views: 2241

Answers (1)

Jhona
Jhona

Reputation: 49

Apparently, it was a mistake on my part when naming the document, I name the document examplev1-dashboard.html, however when deploying the website AWS couldn't access it, I change the name to index.html and it did deploy correctly.

Upvotes: 2

Related Questions