# \[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:** 11

<div class="post-metadata">

**Author:** ![BSeslija](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bseslija/32/53612_2.png) [@BSeslija](https://community.hubspot.com/u/BSeslija)\
**Post date:** [March 31, 2022, 3:01pm UTC](https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613/11 "2022-03-31T15:01:58Z")

</div>

Hi! I am trying to filter contact data based on date created. I have added this to request body:

`{ "filters": [{"propertyName": "createdate", "operator": "IN", "values": ["2022-03-01", "2022-03-31"] }]} `

But I always get **There was a problem with the request** as a response.

What am I doing wrong?

---

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