# Sandbox Catalog Api list in explorer is displaying empty

**URL:** <https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435>\
**Category:** Questions\
**Tags:** catalog-api\
**Created:** [November 1, 2022, 3:51pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435 "2022-11-01T15:51:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![srh](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@srh](https://developer.squareup.com/forums/u/srh)\
**Post date:** [November 1, 2022, 3:51pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/1 "2022-11-01T15:51:16Z")

</div>

I am trying to access sandbox Default Account items that were created for purchase from the Catalog List API. However, the list is empty when I make the API call from the explorer with the Default Account access token in Sandbox mode. I am seeing production items returned from the API explorer when I switch modes. Is there some kind of documentation/step I am missing in marking sandbox items for display in the catalog?

I am able to access the items from an empty search catalog items request.

---

<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:** [November 1, 2022, 4:27pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/2 "2022-11-01T16:27:59Z")

</div>

With our sandbox items in the production catalog won’t be available in the sandbox catalog. You’ll need to create items in sandbox to populate the catalog. 🙂

---

<div class="post-metadata">

**Author:** ![srh](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@srh](https://developer.squareup.com/forums/u/srh)\
**Post date:** [November 1, 2022, 4:36pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/3 "2022-11-01T16:36:31Z")

</div>

Sounds good, that was already done, I have created separate items in the sandbox account, these newly created items though are not showing up when I run the “List Catalog” request. They are however showing up when I run the “Search Catalog Items” request. I imagine I did something wrong when configuring these sandbox items that is preventing them from showing up in the catalog. Any insight into that and how I can get these items to display when I hit the “List Catalog” endpoint?

---

<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:** [November 1, 2022, 4:49pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/4 "2022-11-01T16:49:34Z")

</div>

What are the `catalog_object_ids` and what’s the application ID. Also please **never** share the access token. They are secret. I’d recommend recycling the one you posted here. 🙂

---

<div class="post-metadata">

**Author:** ![srh](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@srh](https://developer.squareup.com/forums/u/srh)\
**Post date:** [November 1, 2022, 4:54pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/5 "2022-11-01T16:54:40Z")

</div>

Ok it is recycled, sandbox-sq0idb-EpaF2Kv7eJScMz6Lrwa7qg, I dont see a catalog\_object\_id on the items that are returned from the “search catalog items” response. “id”: “BNWPACIGYFXN5RZCK46ODWTU”. Here is an id of one of the items.

---

<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:** [November 1, 2022, 5:35pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/6 "2022-11-01T17:35:37Z")

</div>

I just called `ListCatalog` for that item and it was in the results. 🙂

---

<div class="post-metadata">

**Author:** ![srh](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@srh](https://developer.squareup.com/forums/u/srh)\
**Post date:** [November 1, 2022, 6:54pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/7 "2022-11-01T18:54:11Z")

</div>

In the first image the explorer is calling the list catalog endpoint using the “sandbox-sq0idb-EpaF2Kv7eJScMz6Lrwa7qg” Default Test Account. No results are returned, this is unexpected since I have created 5 products from the seller sandbox dashboard.  
In the second image I am calling the Search Catalog Item endpoint with the same sandbox access token and my items are appearing as expected.  
Question is why am I getting no items from the ListCatalog call but I am getting items from the SearchCatalog call. I would expect the search catalog call to always have the same number of items or less but never more. Is there something that I am not understanding?

 ![catalog list](https://global.discourse-cdn.com/square/original/2X/5/5ab44d25660c93687e30f75fac675636a8ebe6bc.png)

---

<div class="post-metadata">

**Author:** ![srh](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@srh](https://developer.squareup.com/forums/u/srh)\
**Post date:** [November 1, 2022, 6:54pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/8 "2022-11-01T18:54:46Z")

</div>

![catalog search](https://global.discourse-cdn.com/square/original/2X/1/13b5616c1cdf66c90bf772b42849850d49dbf76b.png)

---

<div class="post-metadata">

**Author:** ![srh](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@srh](https://developer.squareup.com/forums/u/srh)\
**Post date:** [November 1, 2022, 7:09pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/9 "2022-11-01T19:09:24Z")

</div>

You can disregard. The wrong catalog version is autofilled by the explorer. removing that provides the expected results

---

<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:** [November 1, 2022, 7:10pm UTC](https://developer.squareup.com/forums/t/sandbox-catalog-api-list-in-explorer-is-displaying-empty/7435/10 "2022-11-01T19:10:57Z")

</div>

Glad to hear you figured it out. 🙂
