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.

已提問 4 年前檢視次數 470 次
1 個回答
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.

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南