Update inverted indices: put inverted indices props:no bucket for prop '<property_name>' found

I got an exception while batch inserting:

weaviate.exceptions.WeaviateInsertManyAllFailedError: Every object failed during insertion. Here is the set of all errors: update inverted indices: put inverted indices props: no bucket for prop 'length' found

I got the following exception for some more properties too.

update inverted indices: put inverted indices props: no bucket for prop 'name' found

But the count of objects in the collection is incremented even after this exception “WeaviateInsertManyAllFailedError”.

How to resolve this issue and why is this issue? Thanks in advance


Can you consistently reproduce this error?

If you could, sharing the code that led to it would help understand what were the steps that led to it.

Let me know if this helps!

I followed the similar approach for creating data objects and batch inserting the data.

for i in range(5):
       properties = {"question": f"Test Question {i+1}"}
      data_object = wvc.data.DataObject(
            vector = vectors


Seeing the total number of objects increased in the collection, when I tried fetching the objects using a filter by property names, I am facing the following exception

weaviate.exceptions.WeaviateQueryError: Query call with protocol GRPC search failed with message explorer: list class: search: object search at index <collection_name>: local shard object search <collection_name_5xxxxx>: fetch doc ids for prop/value pair: nested query: nested child 0: nested query: nested child 2: bucket for prop <property_name> not found - is it indexed?.

But when I read all the objects in the collection, I can get the objects in the result.

for item in collection.iterator(include_vector=True):
        print(item.uuid, item.properties,item.vector)