{"record":{"id":"92ba067351db434d","repo":"MemPalace/mempalace","slug":"collection-name-92ba06","errorCode":null,"errorMessage":"{collection_name}","messagePattern":"\\{collection_name\\}","errorType":"exception","errorClass":"CollectionNotInitializedError","httpStatus":null,"severity":"error","filePath":"mempalace/backends/pgvector.py","lineNumber":900,"sourceCode":"                raise DimensionMismatchError(\n                    f\"pgvector collection {self._collection_name!r} expects \"\n                    f\"embedding dimension {existing_dim}, got {dimension}\"\n                )\n            self._known_dimension = existing_dim or dimension\n\n    def _scroll(\n        self,\n        *,\n        where=None,\n        with_embedding=False,\n        with_document=True,\n        limit=None,\n        offset=None,\n    ) -> list[dict]:\n        self._ensure_open()\n        if not self._table_exists():\n            if self._marker_exists():\n                raise CollectionNotInitializedError(self._collection_name)\n            return []\n        return self._client.scroll_rows(\n            self._table,\n            where=where,\n            with_embedding=with_embedding,\n            with_document=with_document,\n            limit=limit,\n            offset=offset,\n        )\n\n    def get_all_metadata(self, where=None) -> list[dict]:\n        \"\"\"Single-pass metadata-only fetch — projects out the document column.\n\n        The base implementation pages through ``get(include=[\"metadatas\"])``,\n        which routes here via ``_scroll`` and (pre-this-override) always sent\n        the ``document`` text over the wire even when nothing consumed it.\n        For pgvector deployments where the client is remote (TLS over WAN),\n        that meant ``mempalace_status`` transferred O(n × document_size)","sourceCodeStart":882,"sourceCodeEnd":918,"githubUrl":"https://github.com/MemPalace/mempalace/blob/06cb6987f02610784fefbad4b2bd5d026d164ba6/mempalace/backends/pgvector.py#L882-L918","documentation":"Error \"{collection_name}\" thrown in MemPalace/mempalace.","triggerScenarios":"Thrown at mempalace/backends/pgvector.py:900 when the library encounters an invalid state.","commonSituations":"Underlying pgvector operation on the collection failed.","solutions":["Inspect the pgvector error for the collection; verify the table and index exist and the server is reachable"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"06cb6987f02610784fefbad4b2bd5d026d164ba6","analyzedAt":"2026-08-15T03:03:36.213Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}