# Problem with operator IN

**URL:** <https://community.hubspot.com/t/problem-with-operator-in/70728>\
**Category:** APIs & Integrations\
**Created:** [December 7, 2022, 12:00pm UTC](https://community.hubspot.com/t/problem-with-operator-in/70728 "2022-12-07T12:00:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SNowak6](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@SNowak6](https://community.hubspot.com/u/SNowak6)\
**Post date:** [December 7, 2022, 12:00pm UTC](https://community.hubspot.com/t/problem-with-operator-in/70728/1 "2022-12-07T12:00:18Z")

</div>

Hi! I have a problem when trying to search products using custom property. When I use “EQ” operator I’m getting a product as a result:

`{ "filterGroups": [{ "filters": [ { "value": "VKBA 1355", "propertyName": "litium_productarticlenumber", "operator": "EQ" }] } ], "properties": ["litium_productarticlenumber"]}`

But when I try to do same search (and search with more values) using “IN” operator I’m not getting anything:

`{ "filterGroups": [{ "filters": [ { "values": [ "VKBA 1355", "VKBA 3434"], "propertyName": "litium_productarticlenumber", "operator": "IN" } ] } ], "properties": ["litium_productarticlenumber"]}`

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![weiliang\_lee](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/weiliang_lee/32/81774_2.png) [@weiliang\_lee](https://community.hubspot.com/u/weiliang_lee)\
**Post date:** [December 8, 2022, 3:30am UTC](https://community.hubspot.com/t/problem-with-operator-in/70728/2 "2022-12-08T03:30:47Z")

</div>

Hi @SNowak6

May I know if you receive any error messages while running your filter with “IN”?

By testing on a new dev account, I could fetch the default sample contacts with this query:

```lia-code-sample
{
 "filterGroups": [
 {
 "filters": [
 {
 "values": ["bh@hubspot.com", "emailmaria@hubspot.com"],
 "propertyName": "email",
 "operator": "IN"
 }
 ]
 }
 ]
}

```

When you mean “not getting anything”, do you mean the api response is as such?

```lia-code-sample
{
 "total": 0,
 "results": []
}

```

If you get a total 0, then the response is intended. If you have gotten any other error message, do share; it seems that your filter is correct, pretty much the same as what I used.

Cheers

WL

---

<div class="post-metadata">

**Author:** ![SNowak6](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@SNowak6](https://community.hubspot.com/u/SNowak6)\
**Post date:** [December 8, 2022, 12:25pm UTC](https://community.hubspot.com/t/problem-with-operator-in/70728/3 "2022-12-08T12:25:35Z")

</div>

Yes, response was an object with empty results.

But during a test to get information for you I solved my issue: for some reasons, operator IN is case sensitive. But EQ is not. That’s why I was getting different results.
