# Q: 'invalid properties' error when creating a collection (Python client versions 4.16.0 to 4.16.3)

**URL:** <https://forum.weaviate.io/t/q-invalid-properties-error-when-creating-a-collection-python-client-versions-4-16-0-to-4-16-3/21717>\
**Category:** Support\
**Tags:** python\
**Created:** [July 24, 2025, 2:51pm UTC](https://forum.weaviate.io/t/q-invalid-properties-error-when-creating-a-collection-python-client-versions-4-16-0-to-4-16-3/21717 "2025-07-24T14:51:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jphwang](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/jphwang/32/38_2.png) [@jphwang](https://forum.weaviate.io/u/jphwang)\
**Post date:** [July 24, 2025, 2:51pm UTC](https://forum.weaviate.io/t/q-invalid-properties-error-when-creating-a-collection-python-client-versions-4-16-0-to-4-16-3/21717/1 "2025-07-24T14:51:35Z")

</div>

We notice that in Weaviate Python client versions `4.16.0` to `4.16.3`, the following pattern when creating a collection with a text2vec\_xxx vectorizer will result in an error:

python

```auto
client.collections.create(
    "CollectionName",
    vector_config=Configure.Vectorizer.text2vec_cohere(), # also applies to other vectorizers
)

```

## Error Message

The error message looks like this:

```auto
UnexpectedStatusCodeError: Collection may not have been created properly.! Unexpected status code: 422, with response body: {'error': [{'message': "module 'text2vec-cohere': invalid properties: didn't find a single property which is of type string or text and is not excluded from indexing....

```

---

<div class="post-metadata">

**Author:** ![sebawita](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/sebawita/32/5_2.png) [@sebawita](https://forum.weaviate.io/u/sebawita)\
**Post date:** [July 24, 2025, 3:27pm UTC](https://forum.weaviate.io/t/q-invalid-properties-error-when-creating-a-collection-python-client-versions-4-16-0-to-4-16-3/21717/2 "2025-07-24T15:27:54Z")

</div>

This is a known issue that occurs when setting a vectorizer definition without defining any `TEXT` or `TEXT_ARRAY` properties in the collection, while relying on AutoSchema to create the data schema automatically.

## Solution

**This issue is addressed in Weaviate Python client patch release `4.16.4`.** We recommend updating to version `4.16.4` of the Weaviate Python client, or later.

## Workarounds for Affected Versions

If you are unable to update your Weaviate Python client version from the affected ones (`4.16.0` to `4.16.3`), you can work around this issue in one of two ways:

### Option 1: Explicitly Define a TEXT Property

Define at least one `TEXT` or `TEXT_ARRAY` property in the collection schema:

```python
client.collections.create(
    "CollectionName",
    properties=[
        Property(name="<property_name>", data_type=DataType.TEXT),
    ],
    vector_config=Configure.Vectorizer.text2vec_cohere(),
    # Additional configuration not shown
)

```

### Option 2: Enable Collection Name Vectorization

Set `vectorize_collection_name` to `True` in the vectorizer definition:

```python
client.collections.create(
    "CollectionName",
    vector_config=Configure.Vectorizer.text2vec_cohere(
        vectorize_collection_name=True
    ),
    # Additional configuration not shown
)

```
