GET contacts/search behaviour differs between HS accounts - help!

Hi all

Using POST https://api.hubapi.com/crm/v3/objects/contacts/search
and the payload below, I experience different hubspot behaviours depending on the HS account I use. On the first acocunt, it correctly finds and returns the “real_contact_email@gmail.com” result, even though the other emails don’t exist, however on the second account it returns no results. If I remove the emails that don’t exist, leaving just the one that does, it then works. Both api keys have same permissions.

Can anyone suggest why this is happening?

{
 "limit": 200,
 "associations": ["deals"],
 "properties": ["email", "hs_additional_emails"],
 "filters": [
 {
 "propertyName": "hs_additional_emails",
 "operator": "IN",
 "values": ["real_contact_email@gmail.com", "non_existent_email1@gmail.com", "non_existent_email2@gmail.com"]
 }
 ]
}

HS account 1 details:

{
 "portalId": <ID>,
 "accountType": "STANDARD",
 "timeZone": "Europe/London",
 "companyCurrency": "GBP",
 "additionalCurrencies": [],
 "utcOffset": "+01:00",
 "utcOffsetMilliseconds": 3600000,
 "uiDomain": "app.hubspot.com",
 "dataHostingLocation": "na1"
}

HS account 2 details:

{
 "portalId": <ID>,
 "accountType": "STANDARD",
 "timeZone": "Europe/London",
 "companyCurrency": "GBP",
 "additionalCurrencies": [
 "USD"
 ],
 "utcOffset": "+01:00",
 "utcOffsetMilliseconds": 3600000,
 "uiDomain": "app-eu1.hubspot.com",
 "dataHostingLocation": "eu1"
}

This is driving me crazy, any help much appreciated.

@Dave__s - Hmm - it certainly looks like a pretty basic API call setup, with the only difference between instances being the hosting location. I presume you can see the real_contact_email@ in the UI in both cases?

Steve

@SteveHTM yup it’s in the for both accounts

Sometimes, when I’m stuck on search issues, I try an alternate formulation of the search criteria if that’s possible.

If this is repeatable with different searches, then it would seem to point to a system problem of some sort.

Steve

It seems to never work, so I’m a bit stuck. Pretty sure it’s a bug at this point. Thanks for your input