AWS Amplify showing error while deploying a website

0

This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>9WD73HP3R0D18WPT</RequestId> <HostId>zhbdCjHUUICUEuL0hKPOgkGwLuJdjs6e1yovA9Jo8lYu6yp9yllXj/5QiS1PACyqJqduq7nVABo=</HostId> </Error>

When I click on save and deploy it shows success but when I click on the domain URL I get this error. I tried clearing the cache and cookies but it's not helping.

asked 10 months ago343 views
1 Answer
0
Accepted Answer

If you are building an SPA, try putting in the redirect settings described in the following document.
https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#redirects-for-single-page-web-apps-spa

profile picture
EXPERT
answered 10 months ago
  • Hey Riku, even after adding the rewite redirect param its failing and giving same access denier error.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions