Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
The HTTP API associated with the custom domain name cannot be invoked via fetch.
0
The HTTP API associated with Lambda was successfully connected to Custom domain. So I connected to the xxx.mydomain.com/vi/direct path.
It was then called normally when opened in Chrome tab.
However, the error "Failed to load resource: {myApiUrl} net::ERR_NAME_NOT_RESOLVED" occurs when trying to invoke via fetch in the React project. What else do you need?
Yes, I replaced it with another letter to prevent API abuse.