So I'm trying to set up a custom domain for my AWS Lambda function.
I went through all the instructions to buy a domain name via google domains, set up a certificate through AWS Certificate manager, and created the corresponding route 53 hosted zone.
For whatever reason, I unfortunately get a 403 error when I try to reach the API Gateway domain name endpoint. In this case, it's https://d-frdw0740fd.execute-api.us-east-1.amazonaws.com.
Also for context, here is my API mappings tab.
For more context, here is my hosted zone in route 53 corresponding with my custom domain name:
Instead of bringing me to a {"message": "Not Found"} page, I'd like it to bring me to my actual aws endpoint.
Where am I going wrong in order to set up my configuration so that my API Gateway domain name is correctly linked to the functional aws endpoint instead of just reaching a 404 error?
UPDATE: I redeployed my serverless function and not instead of getting now instead of the 404 Not Found error I get 403 Forbidden:
{
"message": "Forbidden"
}




Forbiddeninstead ofNot Found. At least it's a new error, but seems like there's still a configuration problem./testto the mapping and then hittinghttps://d-frdw0740fd.execute-api.us-east-1.amazonaws.com/testbut i get the same result unfortunately