# Cannot Locate Created Contact

**URL:** <https://community.hubspot.com/t/cannot-locate-created-contact/87754>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [August 17, 2023, 5:35pm UTC](https://community.hubspot.com/t/cannot-locate-created-contact/87754 "2023-08-17T17:35:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CTenberg](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@CTenberg](https://community.hubspot.com/u/CTenberg)\
**Post date:** [August 17, 2023, 5:35pm UTC](https://community.hubspot.com/t/cannot-locate-created-contact/87754/1 "2023-08-17T17:35:08Z")

</div>

Hi,

A partner is attempting to create a contact in hubspot, we are seeing a succesful response, but we’re not able to locate the created contact in the CRM. Removed key and sensitive data for purpose of example, but this is the post request snippet the partner used:

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

Posting Request:

URL: [https://api.hubspot.com/crm/v3/objects/contacts](https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapi.hubspot.com%2Fcrm%2Fv3%2Fobjects%2Fcontacts&data=05%7C01%7Cchris%40arwhome.com%7C4e684b2c69794f17917608db9dbc7fdd%7Cc87b674d0c1b4f2f8f468174ccc43153%7C0%7C0%7C638277205177519136%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=rvRxFT0QK4K0YvhxP8j0ndg9GmJE9eDohwEQAkvMpXU%3D&reserved=0)

Headers:

“Content-Type: application/json” **,**

“Content-Length: 320” **,**

“authorization: Bearer pat-na1-1d7498f1-xxxxxxxxxxxx-80244f5a1ef6”

Payload:

**{**

“campid” **:** “170” **,**

“email” **:** “[73249999999414@gmail.com](mailto:7324231414@gmail.com)” **,**

“phone” **:** “7324000000” **,**

“firstname” **:** “Phil” **,**

“dtc\_first\_name” **:** “Phil” **,**

“lastname” **:** “Rammairone” **,**

“dtc\_last\_name” **:** “Rammairone” **,**

“xxtrustedformcerturl” **:** “[https://cert.trustedform.com/ae28b97daba4353256d8ee9fc5028409fa852786](https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcert.trustedform.com%2Fae28b97daba4353256d8ee9fc5028409fa852786&data=05%7C01%7Cchris%40arwhome.com%7C4e684b2c69794f17917608db9dbc7fdd%7Cc87b674d0c1b4f2f8f468174ccc43153%7C0%7C0%7C638277205177519136%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xyGRODgKaP5b29hXwNnDE1DPfBFBTdIgvJLvvOJ4Aq4%3D&reserved=0)” **,**

“xxjornayatokenxx” **:** “EEE3284D-5878-827B-CE40-233133BDC110”

**}**

Response:

{“id”:“36282152”,“properties”:{“createdate”:“2023-08-14T18:29:18.917Z”,“hs\_all\_contact\_vids”:“36282152”,“hs\_is\_contact”:“true”,“hs\_is\_unworked”:“true”,“hs\_lifecyclestage\_lead\_date”:“2023-08-14T18:29:18.917Z”,“hs\_marketable\_status”:“false”,“hs\_marketable\_until\_renewal”:“false”,“hs\_object\_id”:“36282152”,“hs\_object\_source”:“INTEGRATION”,

“hs\_object\_source\_id”:“1989837”,“hs\_pipeline”:“contacts-lifecycle-pipeline”,“lastmodifieddate”:“2023-08-14T18:29:18.917Z”,“lifecyclestage”:“lead”},“createdAt”:“2023-08-14T18:29:18.917Z”,“updatedAt”:“2023-08-14T18:29:18.917Z”,“archived”:false}

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [August 17, 2023, 6:40pm UTC](https://community.hubspot.com/t/cannot-locate-created-contact/87754/2 "2023-08-17T18:40:19Z")

</div>

Hey @CTenberg,

The issue is with your payload. It should look like this:

```lia-code-sample
{
 "properties": {
 "campid": "170",
 "email": "73249999999414@gmail.com",
 "phone": "7324000000",
 "firstname": "Phil",
 "dtc_first_name": "Phil",
 "lastname": "Rammairone",
 "dtc_last_name": "Rammairone",
 "xxtrustedformcerturl": "https://cert.trustedform.com/ae28b97daba4353256d8ee9fc5028409fa852786",
 "xxjornayatokenxx": "EEE3284D-5878-827B-CE40-233133BDC110"
 }
}

```

Notice that I’ve wrapped the key value pairs in a “properties” object. With your current payload it will still create a record but nothing will be populated. If you navigate to this URL below you should at least see a blank contact record: (which is why HubSpot returns a 200 as a contact technically is created)

`https://app-na1.hubspot.com/contacts/XXXXXXX/record/0-1/36282152`

_(make sure to replace XXXXXXX with your portal ID)._

I hope this helps!
