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.

posta un anno fa355 visualizzazioni
1 Risposta
0
Risposta accettata

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
ESPERTO
con risposta un anno fa
  • Hey Riku, even after adding the rewite redirect param its failing and giving same access denier error.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande