By using AWS re:Post, you agree to the Terms of Use
/Cannot add Elasticsearch Data Source: Request failed with status code 400/

Cannot add Elasticsearch Data Source: Request failed with status code 400

0

None of the fields are highlighted in red to indicate a problem.

I was able to select the region and ES domain.

I tried selecting an existing role, which i created by following this AWS tutorial: https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-elasticsearch-resolvers.html. That resulted in another strange error: "Error: Only amazonaws.com domains are supported at this point." My ES domain endpoint does contain amazonaws.com...

I opened a support case with AWS support but it's been almost 2 days and nobody has responded yet so I am giving this forum a chance.

Has anyone experienced this problem? Any ideas how to resolve it?

Thank you in advance.

asked 2 years ago3 views
1 Answers
0

Turns out AppSync cannot communicate with ES domain in a VPC. I missed that mention in the documentation.

A clear error message would have saved me days, though. Hopefully this will help someone.

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