{"record":{"id":"9aa5e38979b91b9b","repo":"chroma-core/chroma","slug":"could-not-deserialize-configuration-json-e","errorCode":null,"errorMessage":"Could not deserialize configuration_json: {e}","messagePattern":"Could not deserialize configuration_json: (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"chromadb/types.py","lineNumber":154,"sourceCode":"            raise KeyError(\n                f\"No such key: {key}, valid keys are: {self.get_model_fields()}\"\n            )\n\n    def __eq__(self, __value: object) -> bool:\n        # Check that all the model fields are equal\n        if not isinstance(__value, Collection):\n            return False\n        for field in self.get_model_fields():\n            if getattr(self, field) != getattr(__value, field):\n                return False\n        return True\n\n    def get_configuration(self) -> CollectionConfiguration:\n        \"\"\"Returns the configuration of the collection\"\"\"\n        try:\n            return load_collection_configuration_from_json(self.configuration_json)\n        except Exception as e:\n            raise ValueError(\n                f\"Could not deserialize configuration_json: {e}\",\n            )\n\n    def get_serialized_schema(self) -> Optional[Dict[str, Any]]:\n        \"\"\"Returns the serialized_schema of the collection\"\"\"\n        return self.serialized_schema\n\n    def set_configuration(self, configuration: CollectionConfiguration) -> None:\n        \"\"\"Sets the configuration of the collection\"\"\"\n        self.configuration_json = collection_configuration_to_json(configuration)\n\n    def set_serialized_schema(self, serialized_schema: Dict[str, Any]) -> None:\n        \"\"\"Sets the serialized_schema of the collection\"\"\"\n        self.serialized_schema = serialized_schema\n\n    def get_model_fields(self) -> Dict[Any, Any]:\n        \"\"\"Used for backward compatibility with Pydantic 1.x\"\"\"\n        try:","sourceCodeStart":136,"sourceCodeEnd":172,"githubUrl":"https://github.com/chroma-core/chroma/blob/aecdd12c8a891610db8653630b066b32ceb678b5/chromadb/types.py#L136-L172","documentation":"Error \"Could not deserialize configuration_json: {e}\" thrown in chroma-core/chroma.","triggerScenarios":"Thrown at chromadb/types.py:154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"aecdd12c8a891610db8653630b066b32ceb678b5","analyzedAt":"2026-08-16T21:53:27.228Z","schemaVersion":2},"datasetVersion":"2026-08-16T23:17:17.608Z"}