APIs & Integrations

olejnaess
Membre

Creating companies from segment.com calls

Hi. We are using segment.com integration where we want to send our company and user (contacts) data to hubspot. Contact data seem to work ok, but we have some issues with the companies to be created. 

 

Example of Server side Group call we send:

 

Analytics::group(array(
"userId" => "17141",
"groupId" => "7068",
"traits" => array(
"website" => "http://test.com",
"name" => "test company",

)
));

 

Nothing happens. I then try to debug and get this error

olejnaess_0-1611689440291.png


We been trying to follow the docs explained here:
https://segment.com/docs/connections/destinations/catalog/hubspot/

 

Someone that have any ideas what we are doing wrong? Any more detailed guides or articles on this area?

 

Thank you

0 Votes
3 Réponses
lisahensley406
Participant

Creating companies from segment.com calls

We had an issue with the date formatting coming out of our core system being a mismatch to the date format Hubspot will accept.

0 Votes
MSanchez
Participant

Creating companies from segment.com calls

Hey there,

I encountered this error when one of the properties in Hubspot was some kind of enumerable (checkboxes for examples).
Those properties requires a set of predefined values to be defined. If the value you send from Segment is not in this predefined set, you get this error.

I never tried the group call though, so it might be somethings completely different.

Normally, there is a panel in Segment where you can get more details on the error I think (get the actuel response payload of Hubspot). It might be helpful to get the actual reason of the error.

Best

 

0 Votes
dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Creating companies from segment.com calls

Hello @olejnaess 

Welcome to the Community!

@MSanchez was just recently working with a Segment integration and might have some ideas.

@OtavioCapila was kind enough to help him out 😀.  He also may be of some assistance!

0 Votes