• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Marketing that's efficient and human? That's Loop Marketing.

    Explore HubSpot Academy's 39-video playlist and put it into practice.

    Start learning

request !== response

MakeDevelopment
Participant

Hello there,

I have a problem, it's not related to performance, but it's confusing.
By endpoint Post https://api.hubapi.com/crm/v3/objects/contacts/search I want to filter it by a custom field - it's a number with 19 characters.
In response, I get a modified number, the last few digits turn into zeros.

MakeDevelopment_0-1686245430526.png

 

Why such behavior?

Thanks in adv!

0 Upvotes
1 Accepted solution
himanshurauthan
Solution
Thought Leader | Diamond Partner
Thought Leader | Diamond Partner

Hello @MakeDevelopment 

You are using 19 digits. HubSpot only supports numbers with up to 18 digits. When you try to filter by a custom field with more than 18 digits, the API will automatically truncate the number to 18 digits.

Digital Marketing & Inbound Expert In Growth Hacking Technology

View solution in original post

2 Replies 2
MakeDevelopment
Participant

Hi @himanshurauthan 

Thanks for the reply, it's all clear now 🙂
Is this mentioned somewhere in the documentation?

0 Upvotes
himanshurauthan
Solution
Thought Leader | Diamond Partner
Thought Leader | Diamond Partner

Hello @MakeDevelopment 

You are using 19 digits. HubSpot only supports numbers with up to 18 digits. When you try to filter by a custom field with more than 18 digits, the API will automatically truncate the number to 18 digits.

Digital Marketing & Inbound Expert In Growth Hacking Technology