# Retrieving a deleted catalog object causes errors

**URL:** <https://developer.squareup.com/forums/t/retrieving-a-deleted-catalog-object-causes-errors/11025>\
**Category:** Questions\
**Tags:** catalog-api\
**Created:** [October 13, 2023, 2:57pm UTC](https://developer.squareup.com/forums/t/retrieving-a-deleted-catalog-object-causes-errors/11025 "2023-10-13T14:57:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pingucodes](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@pingucodes](https://developer.squareup.com/forums/u/pingucodes)\
**Post date:** [October 13, 2023, 2:57pm UTC](https://developer.squareup.com/forums/t/retrieving-a-deleted-catalog-object-causes-errors/11025/1 "2023-10-13T14:57:43Z")

</div>

When attempting to retrieve a catalog object via “/v2/catalog/object/{object\_id}” it appears that if an item is deleted this endpoint won’t return it, despite the object appearing in “/v2/catalog/search” when include\_deleted\_objects is true

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [October 13, 2023, 6:55pm UTC](https://developer.squareup.com/forums/t/retrieving-a-deleted-catalog-object-causes-errors/11025/2 "2023-10-13T18:55:56Z")

</div>

That’s correct. The `GET` request for `RetrieveCataloObject` doesn’t have a parameter to set `include_deleted_objects`. Only the `POST` requests of `SearchCatalogObjects` and `BatchRetrieveCatalogObjects` allows you to `include_deleted_objects`. 🙂
