diff --git a/weaviate/collections/classes/config.py b/weaviate/collections/classes/config.py index 2a8b8d600..a4acc5e2b 100644 --- a/weaviate/collections/classes/config.py +++ b/weaviate/collections/classes/config.py @@ -2362,8 +2362,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",