403 Forbidden issue from Lambda accessing Opensearch API

1

Hello Everyone, I have a lambda function which will be triggered based on Dynamodb events. My lambda will push the document received from the dynamo to Opensearch using its API. The setup worked fine but it started throwing 403 forbidden errors from last 3 days. Please help if anyone faced similar issues. Thanks!

1 Antwort
1

Hello,

403 Forbidden occurs due to :-

  1. index_create_block_exception
  2. Issue with Access policy

As you already mentioned that the setup was working fine previously but started throwing 403 forbidden errors from last 3 days. Therefore, it could be due to "index_create_block_exception".

Thus, in-order to fix this issue kindly refer to documentation here and check :-

If your cluster is not having any of the above-mentioned issues. Kindly check the exact error and see if it is similar to blocked by: [FORBIDDEN/10/cluster create-index blocked (api)] or if it is due to Access policy issue.

Thank you!

AWS
SUPPORT-TECHNIKER
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen