AWMS Lambda API endpoint scope not allowed

The recent addition of API endpoints to Lambda was great news, but the generated endpoints were not allowed and therefore could not be started.

When I call the endpoint, I get the following.

DNS_PROBE_FINISHED_NXDOMAIN

Does anyone else try this and have a solution?

+3


source to share


1 answer


After contacting Amazon support, there is an error in endpoint generation, below is a quote from support.



The problem you see was raised internally and the lambda command was notified of the problem. There is a bug in the url being generated on the Lambda API endpoint page. Region and "execute-api" URLs must be toggled and .amazonaws must be added. Therefore, instead of

https://i9ng3vkc9b.eu-west-1.execute-api.com/prod/putme

try it

https://i9ng3vkc9b.execute-api.eu-west-1.amazonaws.com/prod/putme

The correct URL is displayed when creating a new endpoint, and when you view the API from the API Gateway console page. I apologize for the confusion caused by this error, will be fixed soon.

+2


source







All Articles