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?