# Facing issue with Contacts Archive batch API

**URL:** <https://community.hubspot.com/t/facing-issue-with-contacts-archive-batch-api/24046>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [August 11, 2020, 12:35pm UTC](https://community.hubspot.com/t/facing-issue-with-contacts-archive-batch-api/24046 "2020-08-11T12:35:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SakshiChauhan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sakshichauhan/32/84489_2.png) [@SakshiChauhan](https://community.hubspot.com/u/SakshiChauhan)\
**Post date:** [August 11, 2020, 12:35pm UTC](https://community.hubspot.com/t/facing-issue-with-contacts-archive-batch-api/24046/1 "2020-08-11T12:35:27Z")

</div>

Hey,  
I’m using Contacts Archive batch API in postman and try to archive the contacts based on their ids. So in case of correct ids, it returns 204 code but when I tried with the wrong value of ids it returns me the same 204 status code. I think it should return an error like

id not found or not exist.

Can anyone suggest me on this? or It is the expected behavior from HubSpot.

 ![30171i84B400021CCE7711.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/3/7305ca92512fb223b11c92a5a1c36afa8f67a12a.png)

---

<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:** [August 12, 2020, 6:19am UTC](https://community.hubspot.com/t/facing-issue-with-contacts-archive-batch-api/24046/2 "2020-08-12T06:19:10Z")

</div>

Hey @SakshiChauhan,

This is an expected behavior.

As stated on the documentation: [CRM API | Contacts](https://developers.hubspot.com/docs/api/crm/contacts),

> This method will return a 204 No Content response on success regardless of the initial state of the object (e.g. active, already archived, non-existent).

If you’d like to check if the contact id exist, you can use the **GET crm/v3/objects/contacts/contactID** endpoint. If the contact ID doesn’t exist, it’ll return a 404 error.
