# v3 deals api groups filters issue

**URL:** <https://community.hubspot.com/t/v3-deals-api-groups-filters-issue/71829>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [December 26, 2022, 5:34pm UTC](https://community.hubspot.com/t/v3-deals-api-groups-filters-issue/71829 "2022-12-26T17:34:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CBeno](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbeno/32/197255_2.png) [@CBeno](https://community.hubspot.com/u/CBeno)\
**Post date:** [December 26, 2022, 5:34pm UTC](https://community.hubspot.com/t/v3-deals-api-groups-filters-issue/71829/1 "2022-12-26T17:34:51Z")

</div>

Hi,

I’m trying to create a v3 api to pull deals for the fiscal year. I would like that data for each deal to include the _ **project type.** _

I’m trying the following POST query. The first half of the query works and was successfully pulling the data, but is now failing after I added the second filter for _ **project type** _.

I am completely new to this and hoping someone can point out my error and solution.

Thanks.

{  
“filterGroups”: [{  
“filters”: [  
{  
“propertyName”:“closedate”,  
“operator”: “BETWEEN”,  
“highValue”:“{date.firstMOY(“apr”).endOfYear.format(“unixtime”)}000”,  
“value”:“{date.firstMOY(“apr”).startOfYear.format(“unixtime”)}000”  
}],  
“filters”:[  
{  
“propertyName”:“projecttype”,  
“operator”:“EQ”,  
“value”:“ProfessionalServices”  
}],  
“filters”:[  
{  
“propertyName”:“projecttype”,  
“operator”:“EQ”,  
“value”:“Billablebuilds”  
}  
]  
}  
],

“limit”: 100,  
“after”: 0  
}

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [January 6, 2023, 10:14am UTC](https://community.hubspot.com/t/v3-deals-api-groups-filters-issue/71829/2 "2023-01-06T10:14:17Z")

</div>

Hi @CBeno

Thank you for reaching out.

I want to tag some of our experts here - @Teun @LMeert do you have any thoughts for @CBeno on this?

Thank you!

Best

Tiphaine
