4

The recent addition of API endpoints to Lambda was great news but the generated endpoints don't resolve and hence can't be triggered.

When I call the endpoint I get the following.

DNS_PROBE_FINISHED_NXDOMAIN

Anyone else experiencing this and have a solution?

1
  • 1
    This is currently a bug in the API Gateway Lambda integration in the dashboard. You can find correct URLs in the API Gateway dashboard in your deployed API. Commented Jul 15, 2015 at 15:55

1 Answer 1

2

After contacting Amazon support turns out there is a bug in the generation of the endpoint, below is the quote from support.

The issue you are seeing has been raised internally and the Lambda team has been notified of the issue. There is a bug in the way that the URL is generated on the Lambda API endpoint page. The region and 'execute-api' parts of the URL have to be switched around and .amazonaws has to be added. So instead of

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

try

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

The correct URL is shown when you create a new endpoint, and when you look at the API from the API Gateway Console page. I apologize for the confusion that the bug has caused, it will be fixed shortly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.