App Object Association Issue

I submitted for an App Object approval and recieved the same for an object CONNECTION.
I created an app object association with the following configuration

Spoiler

{
“uid”: “connection_to_company_association”,
“type”: “app-object-association”,
“config”: {
“firstObjectType”: “connection”,
“secondObjectType”: “COMPANY”,
“firstToSecondBaseLimit”: 10000,
“secondToFirstBaseLimit”: 10000,
“labels”: [
{
“name”: “connection_to_company”,
“firstObjectTypeLabel”: “connection”,
“secondObjectTypeLabel”: “Company”,
“firstToSecondLabelLimit”: 10000,
“secondToFirstLabelLimit”: 10000
}
]
}
}

HubSpot is creating two associations, Vieu Connections to Company which is as per definition and Company to Vieu Connections. Company to Vieu Connections is where the issue lies in, it is defined as 1 company to 1 connection rather than 1 company to 10,000 connections.
This defeats the purpose of association.

I am unable to create a new app with the App Object, it throws unspecified errors while trying to Deploy the Build asking me to check Logs for the Sub Deploy and those are not to be found anywhere

Hi @Nkarnam and welcome, we are thrilled to have you here!
Thanks for reaching out to the HubSpot Community!
Let’s connect you with some of our Top Experts: Hi @sylvain_tirreau, @Christensen and @Anton do you have suggestions to help @Nkarnam, please?
Thanks so much and have a lovely day!
Bérangère

Hi @Nkarnam, I hope that you are well!
It looks like the issue with the secondToFirstBaseLimit showing “1” instead of “10,000” may be related to configuration settings.

The secondToFirstBaseLimit property sets how many firstObjectType records can be linked to a single secondObjectType record.
If this property isn’t set, the association limit defaults to “Many,” but you might notice different behaviors when working with standard HubSpot objects like COMPANY.

For the deployment errors and missing logs, here are a few steps you can try:

- Run hs project upload followed by hs project deploy with the --debug flag for more detailed information.
- Check the “Logs” tab in your project’s app settings (Development > Projects > your project) in HubSpot.
- Double-check that your app object name matches exactly what was approved during the review process.
Here are some resources that might help:
- App objects reference
- Get started with app objects
- Local development
Hopefully, these steps help you move forward, let us know how it goes or if any other questions pop up!
Bérangère
This post was created with the assistance of AI tools