Angular access to Apigateway

0

My Angular 12 website hosted in S3 fails to route from one page to another because the website fails to get resources through Apigateway during the routing action. The error message I see is "Failed to load resources: net::ERR_NAME_NOT_RESOLVED." What to I have to do to allow Angular to access resources through Apigateway? By the way, the site works just fine when I run it locally from my development machine.

1 Antwort
1

The error indicates that the client is not able to resolve the DNS name for the API. Make sure the site on S3 is properly configured and has the right domain name when it is making the API calls.

profile pictureAWS
EXPERTE
Uri
beantwortet vor 2 Jahren

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