Skip to content

AWS Bedrock error 400 on sync to postgres

3

Hello, when i try to sync s3 data to a PostgresSQL Database i get the error:

Encountered error: The vector database encountered an error while processing the request: Named parameter syntax is invalid, input: x-amz-bedrock-kb-document-page-number (Service: RdsData, Status Code: 400, Request ID: ). Issue occurred while processing file: s3://. Call to Amazon RDS Vector Database did not succeed.

Steps i have already tried:

  1. Recreated the PostgreSQL
  2. Recreated the KB
  3. Use different pdf files

I use: RDS Serverless v2 PostgreSQL v15 Embed Multilingualv3

I followed this guide https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.VectorDB.html.

Best, Jan

  • We recently encountered an issue that affected the sync of PDF files to PostgreSQL for some customers. We have identified and resolved the issue, and the system is now operating normally. If you continue to experience any issues, please don't hesitate to reach out to our support team.

asked 2 years ago672 views

4 Answers
3
Accepted Answer

It seems that the error was fixed. I can sync PDF documents again without an error.

answered 2 years ago

1

We have had ongoing issues utilizing the Knowledge Base service but we just noticed this occurring today. This is not related to Postgres database configuration and seems more likely to be a breaking change or bug was published without warning by the Bedrock team

answered 2 years ago

0

I have followed same tutorials and checked that I have PostgreSQL and pgvector latest versions. I was able to ingest CSV files, so I can discard permissions issues. But when I try to ingest PDF files I get the same error.

Please advice. Thanks

answered 2 years ago

  • Thank you for the Information. I can confirm that the error is only occurring when a PDF file is present.

0

I have also encountered this error. Does anyone have any updates regarding this error message? The syncs were working prior to today.

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.