"AWS Region is missing" when using a Bedrock Knowledgebase

  • Goal:
    I'm trying to use Retool AI to ask questions using my AWS Bedrock Knowledgebase as a vector store.

  • Steps:

I've set up my knowledgebase as a Vector and created a new query using the Retool AI type. I've selected my knowledgebase from the list of available vectors.

  • Details:

When submitting a query, I just get an error:
{"status":422,"message":"AWS Region is missing."}

This error isn't super helpful as I'm not sure which layer here is having a configuration problem. When setting up a vector in retool, for example, there's no mention of a region.

Anyone have any thoughts?

Thanks!
Martin

1 Like

Sorry - Thought I would give this a bump. Still running into this.

Anyone have similar problems with RetoolAI?

Hey @Martin_Olson! Welcome back to the community. :wave:

Just to eliminate the low-hanging fruit, can you double check that the region successfully saved when you initially configured Bedrock via the "Retool AI" resource page?

It's not technically a required field in that form and is easy to miss, as a result.

Actually, I just realized that there are two distinct ways to integrate with Bedrock - one via the "Retool AI" menu, which I shared above, and other via the "Retool Vectors" menu, which I'm assuming you used.

I'm pretty sure the former needs to be configured in order to use the latter! The fact that this isn't enforced seems like a bug that I'll report to the team. :+1:

Phew! Ok - yeah that's correct, I only set up the the vectors connection w/o the bedrock connection. But ok - I'll go ahead and update that as well then!

And just an update for the record - that sorted it out. Makes sense that those credentials and region would need to be specified somewhere but yes, it'd be great to have the system reflect that.

1 Like

Glad to hear it! We have a fix that will point users towards the required setup that should go out in the next week or so. :+1: Thanks again for flagging this!