APIs & Integrations

MEspinosa
Participant

deal_to_contact association causes internal error

I'm trying to create a simple association between deal and contact record and I'm getting an internal error

 

Error: HTTP-Code: 0
Message: An error occurred.
Body: {"status":"error","message":"internal error","correlationId":"32ba1ffa-14fd-4e52-b0a9-e0441dac577f"}
 
I create the contact and the deal successfully, and I'm just associating 'em with the line
 
     let associationResult= await hubspotClient.crm.deals.associationsApi.create(dealId,'contacts',contactId,'deal_to_contact');
 
What's going on? 
 
 
1 Reply 1
dennisedson
Community Manager
Community Manager

deal_to_contact association causes internal error

@zaklein , any chance you could lend a hand here 🙏

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show