AWS Bedrock sync - The knowledge base storage configuration provided is invalid... The vector database encountered an error while processing the request: Unauthorized

Hey there :wave:
I’m using AWS Bedrock Knowledge base with Pinecone vector database.
All was working well when I’m syncing by datasource with s3, but after a while, clicking on the “Sync” button again from AWS Console returned me an error in a red popup notification:
image

There are no change on the Connection string and Credentials secret ARN values.
Could you help me to understand please? :grinning:

Hi @tegomassria and welcome to the Pinecone community forums!

Thank you for your question and sorry you’re encountering this issue.

  1. Is this issue persisting still or is it intermittent?
  2. Can you try looking into your AWS account’s CloudTrail event history? (There are two - one automatically logs all API calls through your AWS account for 90 days). See if you can locate the same API call that errored out in CloudTrail events history, as this view often contains more verbose details and HTTP status codes / error messages.

Could you please share any relevant code - being careful not to include any secrets such as your Pinecone API key?

Best,
Zack