diff --git a/weaviate/collections/classes/config.py b/weaviate/collections/classes/config.py index 699a3c2a8..4795e12ce 100644 --- a/weaviate/collections/classes/config.py +++ b/weaviate/collections/classes/config.py @@ -2325,8 +2325,8 @@ def inject_vector_config_none( ) -> Union[_VectorConfigCreate, List[_VectorConfigCreate], None]: if ( v is None - and info.data["vectorizerConfig"] is None - and info.data["vectorIndexConfig"] is None + and info.data.get("vectorizerConfig") is None + and info.data.get("vectorIndexConfig") is None ): return _VectorConfigCreate( name="default",