Hi @Vamsivinay119,
I’ve been doing a bit of digging but have yet to uncover the cause.
Is there any way you have logs of the sync messages which caused these errors? I tried paging back through your app’s logs but am encountering an error after several pages.
I did find this more recent error via this endpoint, which may make it easier for you to locate the original sync message:
{
"portalId": XXXXXXX,
"objectType": "DEAL",
"integratorObjectId": "CHECKOUT:6574994227289",
"changeOccurredTimestamp": 1539972161000,
"errorTimestamp": 1539972163765,
"type": "UNKNOWN_ERROR",
"details": "Error performing[CREATE] DEAL[CHECKOUT:6574994227289] for portal XXXXXXX, error was [XXXXXXX] create failed - java.util.concurrent.CompletionException: com.hubspot.apicaller.exceptions.ApiErrorResponseException: Api[name=deals, subPath=/deals/v2/deals/] Failed to process your request. Error code was '400'. Error message was:\nProperty values were not valid",
"status": "OPEN"
}
I’m also seeing an INVALID_ASSOCIATION_PROPERTY error caused by a LINE_ITEM for that same portal:
{
"portalId": XXXXXXX,
"objectType": "LINE_ITEM",
"integratorObjectId": "ORDERLINEITEM:1526285008985",
"changeOccurredTimestamp": 1539972163000,
"errorTimestamp": 1539972164216,
"type": "INVALID_ASSOCIATION_PROPERTY",
"details": "Sync settings SyncKey{objectType=LINE_ITEM, portalId=XXXXXXX, settingsId=792, externalObjectId=ORDERLINEITEM:1526285008985, toSyncMessageKey=SyncMessageKey{portalId=XXXXXXX, settingsId=792, externalObjectId=ORDERLINEITEM:1526285008985}}, invalid associations [SyncHadoopHubspotPropertyValue{hubspotPropertyName=hs_assoc__deal_id, propertyValue=CHECKOUT:6574994227289, timestamp=1539972163000}, SyncHadoopHubspotPropertyValue{hubspotPropertyName=hs_assoc__product_id, propertyValue=1416850210905, timestamp=153997",
"status": "OPEN"
}
This is likely because the portal in question (ending in 9560) does not have a Sales Hub Professional subscription, which is required for line items. This is noted in the Line Items API documentation.
The other portals I checked which are successfully syncing deals from your app have Sales Hub Professional subscriptions, so I wonder whether the LINE_ITEM error is in turn preventing the deal from being created…