While migrating data to HubSpot we need to associate tickets with company. When there are over 10000 tickets that should be associated with single company we receive the error.
Here is a sample of the request and response
Request
PUT https://api.hubapi.com/crm/v4/objects/tickets/966960690/associations/companies/8963354902
Response
“body”: {
“status”: “error”,
“message”: “One or more associations are invalid”,
“correlationId”: “37d2563c-8810-4c41-a014-06673848f207”,
“context”: {
“ASSOCIATION_LIMIT_EXCEEDED”: [
“Exceeded association limit of 10000 for portalId 7855102, fromObjectId 8963354902, associationType COMPANY_TO_TICKET_UNLABELED”
]
},
“category”: “VALIDATION_ERROR”
}
Can this be solved in any way? Or are there any workarounds, so I can assciate more than 10K of tickets with the same company?
Hey, @IHaida I can confirm the Associations limit increase from a few months ago did not include Company > Ticket associations as they are capped at 10k.
There is not an official workaround from my end, nor is this limit scheduled to be updated or increased. Not my favorite answer, and I want to avoid wasting your time looking for documented solutions that don’t exist.
As far as other workarounds from some of our builders, I’ll leave that do open for them if there are “creative” ways to approach this roadblock — @himanshurauthan@LMeert, do you have any magic here for @IHaida?
Additionally, I am happy to pass along your feedback and use case to the Product team if you would like to add a few details here:
Are you hitting this limit often with portals that install your app?
What would be a more comfortable or. work-able Associations limit for Company > Ticket associations?
I would say that each 10th customer, who is migrating to HubSpot faces this issue.
In terms of more comfortable limit, I would say that it would be the best if there is no such a limitation at all. For example we had a migration in which there were over 100K of tickets associated with the same company.
To be honest HubSpot is the only known by me platform that has such a limitation. May I know whay the limit for companies to tickets association is necessary?
That does look like a roadblock and the workarounds I can think of are not that pretty :
have a “ticket” contact associated with that company and then associate the tickets with the contacts, so you can still make the connexion between the company and the tickets while upping that limit from 10k to 50k.
You could even leverage the labels from the associations v4 API, and find the ticket through the only association with a label of “ticket”.
Unfortunately any migration needing more than 50k associations will encounter that problem again.
Now, I agree this is not ideal, but since I imagine tickets are submitted by a contact, wouldn’t it be better to associate tickets to contacts (again leveraging the association labels) and contacts to their respective companies ?
This way you’ll dilute the association concentration per record and will most likely be fine in 95% of your cases ?
The best workaround for this scenario is not associating the company with the ticket if there is a limit.
All the tickets will have a contact associated with them and contacts will be associated with a company, therefore, indirectly you can see the company that should be associated with the ticket using the contact associated with the ticket.