opensearch serverless - access denied 403 response problem

5

Hi, I tried the following template https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-cfn.html for opensearch serverless cloudformation. I changed the type to "SEARCH". when try to ingest data & search any query in collection it gives access denied 403 response. Do I need to add any policy?

this is the response I got

statusCode: 403, headers: { 'x-request-id': '2a496830-0989-9fad-b494-93ffe0ae597b', 'x-aoss-response-hint': 'X01:gw-helper-deny', 'content-type': 'application/json', date: 'Fri, 03 Feb 2023 06:47:29 GMT', 'content-length': '236', server: 'aoss-amazon' }

  • Have you solved the issue? I am experiencing the same problem..

1 Answer
-3

You need to setup the data access policy for performing the data access. See if this helps: https://catalog.us-east-1.prod.workshops.aws/workshops/f8d2c175-634d-4c5d-94cb-d83bbc656c6a/en-US/30-time-series/02-data-access-policy

AWS
answered a year 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