Nov 10, 202011:33 AM - edited Nov 10, 202011:34 AM
Contributor
Unable to Sync closedate - Error: 2020-11-05 08:03:25 was not a valid long
SOLVE
Trying to send a DEAL sync message with createddate and closedate, but I am getting an error that the date I'm sending is an invalid long, even though the documentaiton in the properties says its supposed to be a datetime.
{
"portalId": 8172849,
"storeId": "eib-wsm",
"objectType": "DEAL",
"externalObjectId": "831718",
"changedAt": 1605025670878,
"erroredAt": 1605025680755,
"type": "UNKNOWN_ERROR",
"details": "Error performing[UPDATE] DEAL[eib-wsm__831718] for portal 8172849, error was [8172849] update failed - java.util.concurrent.CompletionException: com.hubspot.apicaller.exceptions.ApiErrorResponseException: Api[name=deals, subPath=/deals/v2/deals/batch] Failed to process your request. Error code was '400'. Error message was:\n{\"validationResults\":[{\"isValid\":false,\"message\":\"2020-11-05 08:03:25 was not a valid long. Portal 8172849, object type 0-3\",\"error\":\"INVALID_LONG\",\"name\":\"closedate\"},{\"isValid\":false,\"message\":\"2020-11-03 01:04:19 was not a valid long. Portal 8172849, object type 0-3\",\"err",
"status": "OPEN"
},