# API : search contacts without associated deal -\> error

**URL:** <https://community.hubspot.com/t/api-search-contacts-without-associated-deal-error/93137>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [November 2, 2023, 11:04am UTC](https://community.hubspot.com/t/api-search-contacts-without-associated-deal-error/93137 "2023-11-02T11:04:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LordLothar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lordlothar/32/58613_2.png) [@LordLothar](https://community.hubspot.com/u/LordLothar)\
**Post date:** [November 2, 2023, 11:04am UTC](https://community.hubspot.com/t/api-search-contacts-without-associated-deal-error/93137/1 "2023-11-02T11:04:03Z")

</div>

Hi,

I need to retrieve contacts which are not associated with deals through the API.  
I receive an error “There was a problem with the request” when I try POST /crm/v3/objects/contacts/search with following body :

{

“filterGroups”: [

{

“filters”: [

{

“operator”: “NOT\_HAS\_PROPERTY”,

“propertyName”: “associations.deal”

}

]

}

]

}  
Although when I try to find deals without contacts, it does work :  
POST /crm/v3/objects/deals/search :

{

“filterGroups”: [

{

“filters”: [

{

“operator”: “HAS\_PROPERTY”,

“propertyName”: “associations.contact”

}

]

}

]

}

Any idea ?  
Thx

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 3, 2023, 8:50pm UTC](https://community.hubspot.com/t/api-search-contacts-without-associated-deal-error/93137/2 "2023-11-03T20:50:28Z")

</div>

Hey, @LordLothar 👋 Thanks for the examples. I’ll see if I can reproduce what you are experiencing and get us more insight.

Thank you 🙌

---

<div class="post-metadata">

**Author:** ![LordLothar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lordlothar/32/58613_2.png) [@LordLothar](https://community.hubspot.com/u/LordLothar)\
**Post date:** [November 15, 2023, 2:08pm UTC](https://community.hubspot.com/t/api-search-contacts-without-associated-deal-error/93137/3 "2023-11-15T14:08:01Z")

</div>

Hi Jaycee,

any news on this ?

thanks
