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.

feita há um ano356 visualizações
1 Resposta
0
Resposta aceita

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
ESPECIALISTA
respondido há um ano
  • Hey Riku, even after adding the rewite redirect param its failing and giving same access denier error.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas