Exception when calling basic_api->create: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict(...)
HTTP response body: {"status":"error","message":"Property values were not valid: [{\"isValid\":false,\"message\":\"XXXXXX was not a valid owner ID\",\"error\":\"INVALID_OWNER_ID\",\"name\":\"hubspot_owner_id\"}]","correlationId":"XXXXXXX","category":"VALIDATION_ERROR"}
However, I have checked, using both HubSpot's website and the API, that the contact does in fact exist and that the contact ID is valid. Does anyone know why this is happening and how a new deal should be created? Thank you in advance!
You may be confusing the HubSpot Owner IDs with Contact IDs. Owner IDs are the users that can log in to your HubSpot portal and can be found using the Owners API. https://developers.hubspot.com/docs/api/crm/owners
You may be confusing the HubSpot Owner IDs with Contact IDs. Owner IDs are the users that can log in to your HubSpot portal and can be found using the Owners API. https://developers.hubspot.com/docs/api/crm/owners