{"record":{"id":"2a1a79255a7f2c90","repo":"mem0ai/mem0","slug":"invalid-collection-name-v-r-must-start-with-a-2a1a79","errorCode":null,"errorMessage":"Invalid collection_name: {v!r}. Must start with a letter or underscore and contain only letters, digits, and underscores.","messagePattern":"Invalid collection_name: (.+?)\\. Must start with a letter or underscore and contain only letters, digits, and underscores\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"mem0/configs/vector_stores/neptune.py","lineNumber":34,"sourceCode":"\nclass NeptuneAnalyticsConfig(BaseModel):\n    \"\"\"\n    Configuration class for Amazon Neptune Analytics vector store.\n    \n    Amazon Neptune Analytics is a graph analytics engine that can be used as a vector store\n    for storing and retrieving memory embeddings in Mem0.\n    \n    Attributes:\n        collection_name (str): Name of the collection to store vectors. Defaults to \"mem0\".\n        endpoint (str): Neptune Analytics graph endpoint URL or Graph ID for the runtime.\n    \"\"\"\n    collection_name: str = Field(\"mem0\", description=\"Default name for the collection\")\n    endpoint: str = Field(\"endpoint\", description=\"Graph ID for the runtime\")\n\n    @field_validator(\"collection_name\")\n    def validate_collection_name(cls, v):\n        if not _VALID_CYPHER_IDENTIFIER.match(v):\n            raise ValueError(\n                f\"Invalid collection_name: {v!r}. Must start with a letter or underscore and \"\n                \"contain only letters, digits, and underscores.\"\n            )\n        return v\n\n    model_config = ConfigDict(arbitrary_types_allowed=False)\n","sourceCodeStart":16,"sourceCodeEnd":41,"githubUrl":"https://github.com/mem0ai/mem0/blob/001c235229be8795e3834520467bd0d661ed8f34/mem0/configs/vector_stores/neptune.py#L16-L41","documentation":"Error \"Invalid collection_name: {v!r}. Must start with a letter or underscore and contain only letters, digits, and underscores.\" thrown in mem0ai/mem0.","triggerScenarios":"Thrown at mem0/configs/vector_stores/neptune.py:34 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Rename the collection to start with a letter or underscore and use only letters, digits, and underscores."],"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"}