# Catalog Upsert Problem

**URL:** <https://developer.squareup.com/forums/t/catalog-upsert-problem/8426>\
**Category:** Questions\
**Tags:** catalog-api\
**Created:** [February 1, 2023, 3:29pm UTC](https://developer.squareup.com/forums/t/catalog-upsert-problem/8426 "2023-02-01T15:29:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![espo4life](https://avatars.discourse-cdn.com/v4/letter/e/f17d59/32.png) [@espo4life](https://developer.squareup.com/forums/u/espo4life)\
**Post date:** [February 1, 2023, 3:29pm UTC](https://developer.squareup.com/forums/t/catalog-upsert-problem/8426/1 "2023-02-01T15:29:35Z")

</div>

I am using CatalogApi.BatchUpsertCatalogObjects to upsert catalog objects to Square. When I use this and it involves adding a catalog to a location, it does not seem to be working. I am not receiving any errors. The JSON looks like this for the object

```auto
"present_at_all_locations": false,
	"present_at_location_ids": [
		"L2PY3MXW41QSJ",
		"L3H3S9ZRJ0RTW",
		"LAATPCXS1NJCR",
		"LDMW0EGA3DMS0",
		"LG33K405HDHMC",
		"LHVMZSDNXVWSE",
		"LKSDSSPESD4QW",
		"LMDMXSV277WH0",
		"LQY95E0BA6GMS",
		"LYTP95NE6ZK46",
		"LZAQDFZ0TANCY"
	]

```

Is there something I am missing?

---

<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:** [February 1, 2023, 5:29pm UTC](https://developer.squareup.com/forums/t/catalog-upsert-problem/8426/2 "2023-02-01T17:29:39Z")

</div>

Are you seeing the request in the [API Logs](https://developer.squareup.com/docs/devtools/api-logs) in the Developer Dashboard? 🙂
