# \[Hubspot API\] How do you use IN filter operator?

**URL:** <https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [October 20, 2021, 9:09am UTC](https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613 "2021-10-20T09:09:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tb1024](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tb1024/32/29572_2.png) [@tb1024](https://community.hubspot.com/u/tb1024)\
**Post date:** [February 11, 2022, 1:44pm UTC](https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613/4 "2022-02-11T13:44:00Z")

</div>

Teun,

It seems that your last example doesn’t work for me, I am getting this error:

`{"status":"error","message":"Invalid input JSON on line 9, column 17: Cannot construct instance of `com.hubspot.inbounddb.publicobject.core.v3.search.Filter`, problem: operator IN requires values","correlationId":"c0f97d27-fd9c-4e21-a476-ed9ee20a2000"}`

This is what I have in Postman. Any input would highly be appreciated. Thank you.

 ![tb1024_0-1644586988118.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/e/de6c2451e48488a5b25cb980dc8a9b73638f1c0f.png)

---

_[View the full topic](https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613)._
