associatedVids in Get all deals returns empty

deals

#1

When I try to use Get all deals api(https://developers.hubspot.com/docs/methods/deals/get-all-deals) the associatedVids always return [];

But when I try Get a Deal api(https://developers.hubspot.com/docs/methods/deals/get_deal), it will returns me the current information, which are the vids I associate with that deal

Previously this api was fine, recently all our associatedVids became empt.

My exact API:
https://api.hubapi.com/deals/v1/deal/paged?access_token=XXXXXXXXXXXXXXX&offset=172058544&includeAssociations=true&limit=250&properties=dealname&properties=createdate&properties=hubspot_owner_id&properties=closedate&properties=dealstage&properties=dealname&properties=notes_last_updated&properties=hs_lastmodifieddate&properties=amount&properties=deal_channel


#2

we are also getting these values empty in all deals api, so our application is showing no records through API, we require associatedCompanyIds for our code to work.

“associations”: {
“associatedVids”: [],
“associatedCompanyIds”: [],
“associatedDealIds”: []
}


#3

I’ve got the same problem. My hubspot ID is 1614164 .

When I make the following call: https://api.hubapi.com/deals/v1/deal/paged?hapikey=MY_HAPI_KEY&includeAssociations=true

associatedVids, associatedCompanyIds and associatedDealIds are empty arrays for each returned deal: https://goo.gl/wq7Bgx

We also require associatedCompanyIds for our code to work. Without information from associatedCompanyIds our sales are dropping down :frowning:

Please fix this problem as soon as it is possible.


#4

Also chiming in - we’re seeing this issue this as well, and deal associations are no longer showing up as of mid-day of July 12th.
Can someone from Hubspot’s dev or support teams respond? This is a breaking change, and has serious impact to our users.


#5

Hi All,

I just checked our bug tracking system and this should be resolved now. In my testing, it’s working now, but if you all could confirm for us that would be great. @sprine @marek.psiuk @Subhash @Eddie_Z

Sorry for the delayed response.

-Zack


#6

@zwolfson, It’s working for the /deals/v1/deal/paged endpoint, but not /deals/v1/deal/all (with the includeAssociations=true flag) - is the latter still supported? It was working fine until two days ago.


#7

@zwolfson I just check on my side, Get all deals API looks good to me now.


#8

In my testing, it’s working now, but if you all could confirm for us that would be great. @sprine @marek.psiuk @Subhash @Eddie_Z

In the call I’ve mentioned: https://api.hubapi.com/deals/v1/deal/paged?hapikey=MY_HAPI_KEY&includeAssociations=true associatedCompanyIds are now provided as before. It is working correctly at least since 14 July 07:00 GMT+2


#9

@sprine, I was able to recreate the issue and have opend the ticket back up. Thanks for follow up, I’ll let you know as soon as we have a resolution.


#10

@sprine, this issue should now be resolved. Let us know if you run into anything else.


#11

Thank you, @zwolfson - it works again now.


#12

Its working fine now, thank you Zack.