Ultimate

X_VECTOR_UNSCOPED

Means

a vector store was read with no tenant bound inside an org request

Typical cause

a store is unscoped until .scoped({ tenant }) binds one, and a read without it inside a request acting for an org would search every tenant's rows

Fix

vectorStore.scoped({ tenant: ctx.actor.orgId })

Listed under MCP and AI

This page as markdown