Random "internal error" updating contacts, with no meaningful error details


#1

I am using /contacts/v1/contact/createOrUpdate/email/:contact_email to update contacts regularly. Occasionally, I get a response with an error, but there is no indication of what the error was caused by:

{“status”:“error”,“message”:“internal error”,“correlationId”:“a8bf294f-905d-4e30-95e8-1a3ec748ac8d”,“requestId”:“b5685a88943ab214f0a0fa60f37b59a5”}

I have read HubSpot responses to others with similar errors that suggest that the problem is invalid JSON being POSTed. However I can run the exact same update, using the same email address and POST body, and it will succeed.

This is particularly troubling because we are working towards using the bulk API which means we would have 100 updates randomly failing instead of just 1.

How can I find out what is causing this and get it resolved?


#2

While I don’t think it is the source of the problem, here is an example of my JSON

{
"properties": [
{
	"property": "email",
	"value": "XXXXX@XXXXX"
}
	,
{
	"property": "expired",
	"value": "false"
}
	,
{
	"property": "expired_count",
	"value": "0"
}
	,
{
	"property": "expired_list",
	"value": ""
}
	,
{
	"property": "expiring",
	"value": "false"
}
	,
{
	"property": "expiring_count",
	"value": "0"
}
	,
{
	"property": "expiring_list",
	"value": ""
}
	,
{
	"property": "expiring_monthly",
	"value": "false"
}
	,
{
	"property": "expiring_monthly_count",
	"value": "0"
}
	,
{
	"property": "expiring_monthly_list",
	"value": ""
}
	,
{
	"property": "license_count",
	"value": "0"
}
	,
{
	"property": "license_list",
	"value": ""
}
	,
{
	"property": "license_detail",
	"value": "https://OUR_INTERNAL_SERVER?email=XXXXX%40XXXXX"
}
	,
{
	"property": "product_sales_total",
	"value": "0.00"
}
	,
{
	"property": "services_sales_total",
	"value": "0"
}
]
}

#3

We have not gotten the “internal error” JSON response in several days now. Instead, now we get an HTML response as follows.

<HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY>
An error occurred while processing your request.<p>
Reference&#32;&#35;179&#46;aeb8ca41&#46;1503514595&#46;bd9bc9d
</BODY></HTML>