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.

preguntada hace un año356 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
EXPERTO
respondido hace un año
  • Hey Riku, even after adding the rewite redirect param its failing and giving same access denier error.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas