# Issue with updating custom fields through Segment.com identify call

**URL:** <https://community.hubspot.com/t/issue-with-updating-custom-fields-through-segment-com-identify-call/17415>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [November 26, 2019, 11:01am UTC](https://community.hubspot.com/t/issue-with-updating-custom-fields-through-segment-com-identify-call/17415 "2019-11-26T11:01:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chrintz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrintz/32/76793_2.png) [@Chrintz](https://community.hubspot.com/u/Chrintz)\
**Post date:** [November 26, 2019, 11:01am UTC](https://community.hubspot.com/t/issue-with-updating-custom-fields-through-segment-com-identify-call/17415/1 "2019-11-26T11:01:31Z")

</div>

Hey

We are using Segment to sync contacts and user information to Hubspot.

Hypefactors is a SAS software solution for Media monitoring etc. we want to create and update the contacts in Hubspot with information about their use of our platform.

Creating the contacts and updating fields like name and email is working fine but I can’t get it to populate custom fields.

Here is an example of the identify call that we are sending:

```auto
{
 "context": {
 "library": {
 "consumer": "LibCurl",
 "name": "analytics-php",
 "version": "1.5.2"
 }
 },
 "integrations": {},
 "messageId": "22c35b72-b72a-45e8-b6db-68aed2f4a905",
 "originalTimestamp": "2019-11-26T10:47:25+00:00",
 "receivedAt": "2019-11-26T10:47:26.441Z",
 "sentAt": "2019-11-26T10:47:25.000Z",
 "timestamp": "2019-11-26T10:47:26.441Z",
 "traits": {
 "activatedAt": "2016-12-02T11:04:14Z",
 "createdAt": "2016-12-02T11:04:14Z",
 "email": "cc@integral.dk",
 "firstName": "Christoffer",
 "fullAccess": true,
 "fullName": "Christoffer Chrintz",
 "id": 380,
 "inDailyEmail": false,
 "jobTitle": null,
 "language": "en",
 "lastLoginAt": "2019-11-26T10:47:24Z",
 "lastName": "Chrintz",
 "phone": null,
 "planAssociation": "Paid",
 "timezone": "Europe/Copenhagen",
 "updatedAt": "2019-11-26T10:47:24Z"
 },
 "type": "identify",
 "userId": "f694fced-4164-4648-86db-0a39a91dc087",
 "writeKey": "m9vIMRe01fRWV9UAq10QInKulLCChM2A"
}

```

Currently, I have created the custom field planAssociation in Hubspot:

 ![2019-11-26 11_44_26-NVIDIA GeForce Overlay.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/e/9e2be7df1d0f6cbf46676a1cbbe0864e1043f7dc.png)

But I can’t get it to populate the field.

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [November 27, 2019, 3:36am UTC](https://community.hubspot.com/t/issue-with-updating-custom-fields-through-segment-com-identify-call/17415/2 "2019-11-27T03:36:04Z")

</div>

Hi @Chrintz,

The internal value for the property planAssociation is planassociation, could you try using planassociation in the identify function and see if that works?

---

<div class="post-metadata">

**Author:** ![Chrintz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrintz/32/76793_2.png) [@Chrintz](https://community.hubspot.com/u/Chrintz)\
**Post date:** [November 28, 2019, 8:47am UTC](https://community.hubspot.com/t/issue-with-updating-custom-fields-through-segment-com-identify-call/17415/3 "2019-11-28T08:47:54Z")

</div>

Hey Wendy

Thanks for your reply.

I had tried that but Segment automatically converts everything to lower case characters so that wasn’t it.

I did, however, find the issue. It was a bug on segments side where they were formating the request wrong or something (Their explanation).

It seems to be working now.

Thanks

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [November 28, 2019, 8:58am UTC](https://community.hubspot.com/t/issue-with-updating-custom-fields-through-segment-com-identify-call/17415/4 "2019-11-28T08:58:36Z")

</div>

Hi @Chrintz,

Thanks for sharing this and I’m glad all is working well now 🙂
