# Conflict error 409

**URL:** <https://community.hubspot.com/t/conflict-error-409/110241>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [June 27, 2024, 7:58am UTC](https://community.hubspot.com/t/conflict-error-409/110241 "2024-06-27T07:58:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mobydick](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mobydick](https://community.hubspot.com/u/Mobydick)\
**Post date:** [June 27, 2024, 7:58am UTC](https://community.hubspot.com/t/conflict-error-409/110241/1 "2024-06-27T07:58:40Z")

</div>

I am trying to create contacts using the batch create api. I get the error

`{“status”:“error”,“message”:“Contact already exists. Existing ID: 20775093475”,“correlationId”:“467b6d05-30d1-4bb5-b097-de74e808dcba”,“category”:“CONFLICT”}`

which causes the batch to fail, thus all contacts that are part of this batch are failed to be created. Even though the error says that the Contact already exists, this is not the case, because I’ve checked my contacts and the ones I’m trying to create dont exist in Hubspot.  
Can you please help?

---

<div class="post-metadata">

**Author:** ![DavidVoigt](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/davidvoigt/32/47231_2.png) [@DavidVoigt](https://community.hubspot.com/u/DavidVoigt)\
**Post date:** [June 27, 2024, 10:27am UTC](https://community.hubspot.com/t/conflict-error-409/110241/2 "2024-06-27T10:27:08Z")

</div>

How exactly did you check whether the contact exists? You should use the API for that, too.

```lia-code-sample
curl --request GET \
 --url 'https://api.hubapi.com/crm/v3/objects/contacts/20775093475?archived=false' \
 --header 'authorization: Bearer YOUR_ACCESS_TOKEN'

```

Also try with archived=true

---

<div class="post-metadata">

**Author:** ![Mobydick](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mobydick](https://community.hubspot.com/u/Mobydick)\
**Post date:** [June 27, 2024, 11:08am UTC](https://community.hubspot.com/t/conflict-error-409/110241/3 "2024-06-27T11:08:05Z")

</div>

hey @DavidVoigt thanks for your reply.  
I tried both archived true/false and the response is:

```lia-code-sample
{
 "status": "error",
 "message": "Object not found. objectId are usually numeric.",
 "correlationId": "321b6f79-92fc-40fe-9e3a-378a4006500b",
 "context": {
 "id": [
 ":20775093475"
 ]
 },
 "category": "OBJECT_NOT_FOUND"
}

```

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [June 30, 2024, 4:08am UTC](https://community.hubspot.com/t/conflict-error-409/110241/4 "2024-06-30T04:08:12Z")

</div>

Hey @Mobydick

When a contact is permanently deleted vs restorably deleted from your portal HS will store a record of the deletion in the background and prevent you from adding it via the UI or programmatically leading to the errors and inability to look up the contact that you’re experiencing.

The only way to get that user back into the portal is for the contact to submit a form the,selves.

 ![KevinC_0-1719720267943.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/a944d818d10b14954d868c676d29695b0555e00a.png)

Second, when you tried @DavidVoigt 's solution you’ve accidentally included a colon, thus triggering the error responce (“Object not found. objectId are usually numeric.”) you’re getting from the request:

 ![KevinC_1-1719720396789.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/4/e44f0859aa2e292f3342757955ff2634f26810ff.png)
