# Bug parsing array values when using ContainsAny operator

**URL:** <https://forum.weaviate.io/t/bug-parsing-array-values-when-using-containsany-operator/635>\
**Category:** Support\
**Tags:** bug\
**Created:** [September 7, 2023, 4:37am UTC](https://forum.weaviate.io/t/bug-parsing-array-values-when-using-containsany-operator/635 "2023-09-07T04:37:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khoa-cdp](https://avatars.discourse-cdn.com/v4/letter/k/b38774/32.png) [@khoa-cdp](https://forum.weaviate.io/u/khoa-cdp)\
**Post date:** [September 7, 2023, 4:37am UTC](https://forum.weaviate.io/t/bug-parsing-array-values-when-using-containsany-operator/635/1 "2023-09-07T04:37:10Z")

</div>

I think weaviate client is not parsing array values correctly when dealing with where filters.  
Here’s an example:

```auto
where_filter = { 
  'operator': 'ContainsAny',
  'path': 'type',
  'valueText': ["Person"]
}
fragment = (
  client.query
  .get('Label', ['postgresId', 'content', 'type', 'additional_data'])
  .with_additional(["certainty", "id"])
  .with_near_text({ "concepts": ["Albert Einstein"], "certainty": 0.9 })
  .with_limit(10)
  .with_where(where_filter)
  .build()
)
fragment

```

Here’s the query that was built, you can see redundant quotation marks surrounding the valueText

 ![Screen Shot 2023-09-07 at 11.36.43](https://canada1.discourse-cdn.com/flex027/uploads/weaviate/original/1X/e50597fc30f2177f6b39ce3d0c7912437401635c.png)

Current weaviate-client version: 3.15.4

---

<div class="post-metadata">

**Author:** ![khoa-cdp](https://avatars.discourse-cdn.com/v4/letter/k/b38774/32.png) [@khoa-cdp](https://forum.weaviate.io/u/khoa-cdp)\
**Post date:** [September 7, 2023, 4:42am UTC](https://forum.weaviate.io/t/bug-parsing-array-values-when-using-containsany-operator/635/2 "2023-09-07T04:42:49Z")

</div>

Nevermind y’all.  
I updated the client to 3.23.2 and it fixed the issue. Looks like the bug has been fixed in new versions.

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [September 7, 2023, 12:20pm UTC](https://forum.weaviate.io/t/bug-parsing-array-values-when-using-containsany-operator/635/3 "2023-09-07T12:20:44Z")

</div>

Thanks for sharing!!
