{"record":{"id":"b063b5788b313ab5","repo":"mem0ai/mem0","slug":"no-texts-provided","errorCode":null,"errorMessage":"No texts provided","messagePattern":"No texts provided","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"mem0/vector_stores/vertex_ai_vector_search.py","lineNumber":563,"sourceCode":"        texts: List[str],\n        metadatas: Optional[List[dict]] = None,\n        ids: Optional[List[str]] = None,\n    ) -> List[str]:\n        \"\"\"Add texts to the vector store.\n\n        Args:\n            texts: List of texts to add\n            metadatas: Optional list of metadata dicts\n            ids: Optional list of IDs to use\n\n        Returns:\n            List[str]: List of IDs of the added texts\n\n        Raises:\n            ValueError: If texts is empty or lengths don't match\n        \"\"\"\n        if not texts:\n            raise ValueError(\"No texts provided\")\n\n        if metadatas and len(metadatas) != len(texts):\n            raise ValueError(\n                f\"Number of metadata items ({len(metadatas)}) does not match number of texts ({len(texts)})\"\n            )\n\n        if ids and len(ids) != len(texts):\n            raise ValueError(f\"Number of ids ({len(ids)}) does not match number of texts ({len(texts)})\")\n\n        logger.debug(\"Starting add_texts operation\")\n        logger.debug(\"Number of texts: %d\", len(texts))\n        logger.debug(\"Has metadatas: %s\", metadatas is not None)\n        logger.debug(\"Has ids: %s\", ids is not None)\n\n        if ids is None:\n            ids = [str(uuid.uuid4()) for _ in texts]\n\n        try:","sourceCodeStart":545,"sourceCodeEnd":581,"githubUrl":"https://github.com/mem0ai/mem0/blob/001c235229be8795e3834520467bd0d661ed8f34/mem0/vector_stores/vertex_ai_vector_search.py#L545-L581","documentation":"Error \"No texts provided\" thrown in mem0ai/mem0.","triggerScenarios":"Thrown at mem0/vector_stores/vertex_ai_vector_search.py:563 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass a non-empty list of texts to the embedding/upsert call."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"001c235229be8795e3834520467bd0d661ed8f34","analyzedAt":"2026-08-15T01:55:42.685Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}