Skip to main content
All CollectionsCommon Errors
Hubspot Service Error - Invalid input JSON
Hubspot Service Error - Invalid input JSON

Hubspot Service Error explained - Invalid input JSON

Praise Magidi avatar
Written by Praise Magidi
Updated yesterday

Step: HubSpot Service and possibly others

Message

Hubspot Service Error (VALIDATION_ERROR)

Cause

The error message indicates that the request to HubSpot's API contains invalid JSON. Specifically, the issue is with an operator EQ (equals) that requires a value. This typically happens in a search request when a filter condition is missing a value.

Resolution

Assuming it's an incorrectly specified filter condition, ensure that the EQ operator has a specified value:

json
{
"filters": [
{
"propertyName": "domain",
"operator": "EQ",
"value": "<ENTER VALUE HERE>"
}
]
}

Error Detail

json
{
"message": "Hubspot Service Error",
"statusCode": 400,
"url": "https://api.hubapi.com/crm/v3/objects/companies/search?",
"error": {
"status": "error",
"message": "Invalid input JSON on line 1, column 77: operator EQ requires a value",
"correlationId": "67ceXXXX-XXXX-XXXX-0ddb-XXXXXXX2aXXX6",
"category": "VALIDATION_ERROR"
}
}

Did this answer your question?