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.

gefragt vor einem Jahr355 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
EXPERTE
beantwortet vor einem Jahr
  • Hey Riku, even after adding the rewite redirect param its failing and giving same access denier error.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen