hi @ctindel !!
I have just faced this exact same error recently.
Are you by any chance updating an object and not passing a TEXT_ARRAY?
here is a code I was able to run and reproduce and get this error message:
import weaviate
from weaviate.util import generate_uuid5
from weaviate import classes as wvc
client = weaviate.connect_to_local()
print(weaviate.__version__, client.get_meta().get("version"))
client.collections.delete("Test")
collection = client.collections.create(
"Test",
properties=[
wvc.config.Property(
name="tags", data_type=wvc.config.DataType.TEXT_ARRAY),
wvc.config.Property(
name="title", data_type=wvc.config.DataType.TEXT),
wvc.config.Property(name="authorized",
data_type=wvc.config.DataType.BOOL)
],
vectorizer_config=[
wvc.config.Configure.NamedVectors.text2vec_openai(
name="title_vector",
source_properties=["title"],
),
wvc.config.Configure.NamedVectors.text2vec_openai(
name="tags_vector",
source_properties=["tags"],
),
]
)
collection.data.insert({"tags": [], "authorized": False, },
uuid=generate_uuid5("example2"))
# this will fail:
collection.data.update(
properties={
"authorized": True,
#"tags": [] # specifying it null will work
}, uuid=generate_uuid5("example2"))
#
# ERROR: UnexpectedStatusCodeError: Object was not updated.! Unexpected status code: 500, with response body: {'error': [{'message': 'msg:merge and vectorize code:500 err:panic occurred: interface conversion: interface {} is []interface {}, not []string'}]}.
#