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 Answer
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
EXPERT
Uri
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions