mem0ai/mem0 · error · ValueError

Oracle DB version {'.'.join(map(str, db_version))} not suppo

Error message

Oracle DB version {'.'.join(map(str, db_version))} not supported, must be >=23.4 for vector support

What it means

Error "Oracle DB version {'.'.join(map(str, db_version))} not supported, must be >=23.4 for vector support" thrown in mem0ai/mem0.

Source

Thrown at mem0/vector_stores/oracledb.py:264

            self.client = oracledb.connect(**self.config.connection_params)
            self._owns_client = True

        try:
            if not (hasattr(self.client, "thin") and self.client.thin):
                if oracledb.clientversion()[:2] < (23, 4):
                    raise RuntimeError(
                        f"Oracle DB client driver version {'.'.join(map(str, oracledb.clientversion()))} "
                        "not supported, must be >=23.4 for vector support"
                    )

            if isinstance(self.client, oracledb.Connection):
                db_version = tuple([int(v) for v in self.client.version.split(".")])
            else:
                with self.client.acquire() as conn:
                    db_version = tuple([int(v) for v in conn.version.split(".")])

            if db_version < (23, 4):
                raise ValueError(
                    f"Oracle DB version {'.'.join(map(str, db_version))} not supported, "
                    "must be >=23.4 for vector support"
                )

            self.create_col()
        except Exception:
            if self._owns_client:
                try:
                    self.client.close()
                except Exception:
                    pass
            raise

    @contextmanager
    def _get_cursor(self, commit: bool = False):
        if isinstance(self.client, oracledb.ConnectionPool):
            with self.client.acquire() as connection:
                with connection.cursor() as cursor:

View on GitHub (pinned to 001c235229)

Solutions

  1. Upgrade the Oracle database to version 23.4 or newer for vector support.

When it happens

Trigger: Thrown at mem0/vector_stores/oracledb.py:264 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of mem0ai/mem0@001c235229 (2026-08-15). Data as JSON: /api/errors/7d39828c0a07200f. Report an issue: GitHub.