# Contact custom property not exist

**URL:** <https://community.hubspot.com/t/contact-custom-property-not-exist/38237>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [June 1, 2021, 5:01pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237 "2021-06-01T17:01:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 1, 2021, 5:01pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/1 "2021-06-01T17:01:50Z")

</div>

I created a contact custom property which is where\_you\_found\_us according to this [https://knowledge.hubspot.com/crm-setup/manage-your-properties#create-custom-properties](https://knowledge.hubspot.com/crm-setup/manage-your-properties#create-custom-properties)  
When I pass the custom property along the create contact API, it throws an Error PROPERTY\_DOESNT\_EXIST.  
How can I resolve this?

Thanks

---

<div class="post-metadata">

**Author:** ![natsumimori](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/natsumimori/32/39807_2.png) [@natsumimori](https://community.hubspot.com/u/natsumimori)\
**Post date:** [June 2, 2021, 7:46am UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/2 "2021-06-02T07:46:09Z")

</div>

Thank you for your post @HJack .

@MichaelC would you mind sharing your advice here?

---

<div class="post-metadata">

**Author:** ![MichaelC](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/michaelc/32/9055_2.png) [@MichaelC](https://community.hubspot.com/u/MichaelC)\
**Post date:** [June 2, 2021, 11:42am UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/3 "2021-06-02T11:42:17Z")

</div>

@HJack

Can you give some example of what API you are using and some example to understand better.

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 12:51pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/4 "2021-06-02T12:51:14Z")

</div>

@MichaelCbelow is the image of the code. I use hubsport API to create a contact with a custom property **where\_you\_found\_us** I created by Settings → Properties → Create Property (based on this [Create and edit properties](https://knowledge.hubspot.com/crm-setup/manage-your-properties#create-custom-properties))

 ![HJack_1-1622637875162.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/4/648bdfc6bfb5a73230e5a86974db40113973012c.png)

It throws Error where\_you\_found\_us NOT EXIST

 ![HJack_2-1622638267535.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/7/d72a8a10d17f24468256488a15615598995a721d.png)

---

<div class="post-metadata">

**Author:** ![MichaelC](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/michaelc/32/9055_2.png) [@MichaelC](https://community.hubspot.com/u/MichaelC)\
**Post date:** [June 2, 2021, 1:20pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/5 "2021-06-02T13:20:28Z")

</div>

@HJack In your property settings - is “where\_you\_found\_us” the internal value (green in picture) or the label (red in picture)?

 ![MichaelC_0-1622639981617.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/d/d173d388c6cec01f71c32d62aff2b31acf183fec.png)

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 1:24pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/6 "2021-06-02T13:24:55Z")

</div>

I use the green label

 ![HJack_0-1622640283315.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/1/1192cae13cbacafbe5289608fbbd5e32ec0cc3db.png)

---

<div class="post-metadata">

**Author:** ![MichaelC](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/michaelc/32/9055_2.png) [@MichaelC](https://community.hubspot.com/u/MichaelC)\
**Post date:** [June 2, 2021, 1:26pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/7 "2021-06-02T13:26:29Z")

</div>

#### Please provide more information about your API call

In order to better provide help I kindly ask you to provide the following:  
1. The method you use (example: GET, POST, PUT, PATCH).  
2. The URL you use to make the call (such as [https://api.hubapi.com/crm/v3/properties/contacts](https://api.hubapi.com/crm/v3/properties/contacts))  
**NOTE: Remove your HAPI key token before posting it here.**  
3. Your request header  
**NOTE: Remove any access tokens if you use that in your header before posting it here.**  
4. Your request body (if there is one) ✔ (already done)

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 2:28pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/8 "2021-06-02T14:28:13Z")

</div>

@MichaelC Let me know if you need more info

 ![method.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/2X/3/35b67f9b92233f159e75dcad73ba6da7cf503cb0.png)

 ![request header.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/f/aff7e48cc6984d13ce0d1b0937965ce892264214.png)

---

<div class="post-metadata">

**Author:** ![MichaelC](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/michaelc/32/9055_2.png) [@MichaelC](https://community.hubspot.com/u/MichaelC)\
**Post date:** [June 2, 2021, 2:55pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/9 "2021-06-02T14:55:09Z")

</div>

@HJack

I dont know if you are using some kind of framework to do the call for you. The proper URL to create a contact would be:

[https://api.hubapi.com/crm/v3/objects/contacts?hapikey=YOUR\_HUBSPOT\_API\_KEY](https://api.hubapi.com/crm/v3/objects/contacts?hapikey=YOUR_HUBSPOT_API_KEY) (or without hapi if you use oauth)

Everything else looks good including the body.

Are you able to create a contact through the API without using the custom made property?

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 3:00pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/10 "2021-06-02T15:00:06Z")

</div>

@MichaelC I use express to call hubspot create contact api with this library [https://www.npmjs.com/package/@hubspot/api-client](https://www.npmjs.com/package/@hubspot/api-client) . I’m able to create a contact with default properties like email, phone, firstname, etc. It only throws Error NOT EXIST if I add the new custom property **where\_you\_found\_us** to the payload

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 3:02pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/11 "2021-06-02T15:02:49Z")

</div>

This is how I use hubspot API

 ![HJack_0-1622646148096.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/6c164e117b12a6c8cec33096e714a5dc2706002c.png)

---

<div class="post-metadata">

**Author:** ![MichaelC](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/michaelc/32/9055_2.png) [@MichaelC](https://community.hubspot.com/u/MichaelC)\
**Post date:** [June 2, 2021, 3:07pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/12 "2021-06-02T15:07:15Z")

</div>

@dennisedson its time for me to throw you into the game here. We need to check API logs and portal settings to confirm the above. I need your help here 🙂

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 2, 2021, 3:31pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/13 "2021-06-02T15:31:45Z")

</div>

@HJack , do you have a contact record that is using that property?

I can confirm that the property does exist and I am able to use the [read a property endpoint](https://developers.hubspot.com/docs/api/crm/properties) to confirm it, but I do not think there is a record using that property which makes me wonder if that is the issue. Could you test on a contact record?

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 3:34pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/14 "2021-06-02T15:34:22Z")

</div>

@dennisedson I was trying to create a contact with that property but the request throws an Error PROPERTY NOT EXIST. So there are no contacts with that property

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 2, 2021, 3:35pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/15 "2021-06-02T15:35:41Z")

</div>

@HJack , would you be ok if I created a test contact in your account?

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 3:36pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/16 "2021-06-02T15:36:13Z")

</div>

Yes, go ahead

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 2, 2021, 3:42pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/17 "2021-06-02T15:42:56Z")

</div>

I was able to create a contact in postman with the following properties JSON body

{

“properties”: {

“email”: “[dennistests@dennistestedit.com](mailto:dennistests@dennistestedit.com)”,

“firstname”: “Test”,

“lastname”: “Contact”,

“where\_you\_found\_us”: “The internet”

}

}

And I was able to verify that it was added to the portal as you can see in this screengrab

 ![Property_Editor.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/0/088499e48987a212ec1a3f04dd367ed235e2f239.png)

Is there a way to print out the payload that to see what is actually being sent?

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 4:01pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/18 "2021-06-02T16:01:40Z")

</div>

this is what I receive from the request if I add **where\_you\_found\_us**

 ![tempsnip.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/78dbcd70c8feae43d1523cc858c7433fb1ba2303.png)

---

<div class="post-metadata">

**Author:** ![MichaelC](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/michaelc/32/9055_2.png) [@MichaelC](https://community.hubspot.com/u/MichaelC)\
**Post date:** [June 2, 2021, 4:24pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/19 "2021-06-02T16:24:32Z")

</div>

@HJack can you run this call and post what you get back here  
Header: Normal headers  
Body: None  
Mehtod: GET  
URL: [https://api.hubapi.com/integrations/v1/me?hapikey=YOUR\_HAPI\_KEY\_HERE](https://api.hubapi.com/integrations/v1/me?hapikey=YOUR_HAPI_KEY_HERE)

I want to tripple check the fact that the two of you are in the same portal and working.

---

<div class="post-metadata">

**Author:** ![HJack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hjack/32/77060_2.png) [@HJack](https://community.hubspot.com/u/HJack)\
**Post date:** [June 2, 2021, 5:21pm UTC](https://community.hubspot.com/t/contact-custom-property-not-exist/38237/20 "2021-06-02T17:21:46Z")

</div>

@MichaelC I apply as you suggest

 ![HJack_1-1622654356375.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/b/cb9cb3454a348923dc2d67aff4761152d164355e.png)

and it returns

![HJack_0-1622654315131.png](https://d2qpr2jzcazej7.cloudfront.net/optimized/3X/3/f/3f357a6665c867d53b45cfec4cb7cda8f2cddc86_2_690x42.png)

[Next page](https://community.hubspot.com/t/contact-custom-property-not-exist/38237.md?page=2)
