@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)
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) 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)
@MichaelC I use express to call hubspot create contact api with this library 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
@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
@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 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?
@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