APIs & Integrations

borisd9
Member

Issue with Companies Properties API

SOLVE

 I have used this API before to get the company object properties, and it worked great.

Suddenly, i started to get fields such as hs_analytics_first_visit_timestamp_timestamp_earliest_value_accc17ae .

Is there a known deprecation/issue regarding this?

 

more info on the object - 

 

{
 name: 'hs_analytics_first_visit_timestamp_timestamp_earliest_value_accc17ae',
 label: 'hs_analytics_first_visit_timestamp_timestamp_earliest_value_accc17ae',
 description: 'Calculation context property providing timestamp for rollup property hs_analytics_first_visit_timestamp calculated as EARLIEST_VALUE via values of hs_analytics_first_visit_timestamp on object type ObjectTypeId{metaType=HUBSPOT, metaTypeId=0, innerId=1}'
}

 

 

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Issue with Companies Properties API

SOLVE

Hey, @borisd9.

 

The team has removed the internal "calculation context" properties from the Get all company properties endpoint's responses.

 

Thanks for your patience!

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
6 Replies 6
IsaacTakushi
HubSpot Employee
HubSpot Employee

Issue with Companies Properties API

SOLVE

Hi, @borisd9.

 

I see the hs_analytics_first_visit_timestamp_timestamp_earliest_value_accc17ae property in my account as well. This isn't an error, but a property used by our analytics system.

 

Is it causing issues for you?

Isaac Takushi

Associate Certification Manager
0 Upvotes
borisd9
Member

Issue with Companies Properties API

SOLVE

@IsaacTakushi i see..

The issue is that my integration with Hubspot API is rendering the fields for display.

In order to render an object, i request the metadata on how the object is structured, and this is causing me issues rendering these fields, since they do not have a proper label.

 

I think they should not be returned when getting the properties of an object..

Can i somehow filter these fields? 

0 Upvotes
IsaacTakushi
HubSpot Employee
HubSpot Employee

Issue with Companies Properties API

SOLVE

Hi, @borisd9.

 

I'm sorry you're experiencing pain around this.

 

It's not possible to exclude properties when calling the Get all company properties endpoint. At this time, filtering must occur on your end.

 

That said, I can and will look into getting a proper label for the hs_analytics_first_visit_timestamp_timestamp_earliest_value_accc17ae property.

Isaac Takushi

Associate Certification Manager
0 Upvotes
borisd9
Member

Issue with Companies Properties API

SOLVE

Thanks

You have a few other fields in this endpoint that have the same issues. 

But, i still think that you should filter this for external usage since this is something internal that you use for analytics.

 

0 Upvotes
IsaacTakushi
HubSpot Employee
HubSpot Employee

Issue with Companies Properties API

SOLVE

Hey, @borisd9.

 

Your feedback is fair.

 

I have asked the team to remove these internal "calculation context" properties from this endpoint's responses.

 

I'll let you know what they say!

Isaac Takushi

Associate Certification Manager
0 Upvotes
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Issue with Companies Properties API

SOLVE

Hey, @borisd9.

 

The team has removed the internal "calculation context" properties from the Get all company properties endpoint's responses.

 

Thanks for your patience!

Isaac Takushi

Associate Certification Manager
0 Upvotes