Error Modifying Key Property in Vertex AI Agent Builder Schema

I’m facing an issue when trying to change the primary key in my Google Cloud Vertex AI Agent Builder. I set up a data store for my chatbot using a CSV file that included structured question and answer pairs. Although the initial upload went smoothly, I’m having trouble updating the schema now.

The issue arose when I attempted to designate the “Question” column as the primary key after the data was already loaded. I received the following error message:

“Schema update doesn’t support adding the key property annotation for schema with active documents. Key property mapping mismatch for field ‘Question’.”

I assumed I could modify the schema settings to change the primary field, but it seems that this isn’t permitted once there are documents in the data store. Has anyone else experienced this problem? What is the recommended way to resolve the key property mapping without losing my existing data?

yea i get what u mean! once ya load docs, changing the schema is tough. best bet is to back it all up, fix the schema, and then re-upload. its a hassle, but that’s what works!