# ItemData Description Update Failed - Batch Upsert Catalog

**URL:** <https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311>\
**Category:** Questions\
**Tags:** catalog-api\
**Created:** [May 14, 2025, 11:18am UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311 "2025-05-14T11:18:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![murphyzhang](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@murphyzhang](https://developer.squareup.com/forums/u/murphyzhang)\
**Post date:** [May 14, 2025, 11:18am UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/1 "2025-05-14T11:18:11Z")

</div>

Hi Square Team,  
I triggered an exception for batch updating the catalog.  
When I call the API for batch updating catalog, the description of the product is set to a null value.

 ![image](https://global.discourse-cdn.com/square/original/2X/2/28de2e4eb42f474333f8184fce25a76888948e86.png)  
 ![image](https://global.discourse-cdn.com/square/original/2X/9/96431b95f535e38fa97a04ea1e2f677ae64d1584.png)

```auto
{
  "idempotency_key": "ITEM-96CE6FD1B170C80513EE",
  "batches": [
    {
      "objects": [
        {
          "type": "ITEM",
          "id": "G3CBOLUUFYELOAJSYVID5QLO",
          "version": 1747219343774,
          "present_at_all_locations": false,
          "present_at_location_ids": [
            "LW5CN6FQCFVC3"
          ],
          "item_data": {
            "name": "MP20250514001",
            "is_taxable": false,
            "tax_ids": [],
            "modifier_list_info": [
              {
                "modifier_list_id": "6QJYD555BWVLW6PC3757IP2N",
                "modifier_overrides": [
                  {
                    "modifier_id": "H7QRHEJMYTT3T6RYNCFBRZBF",
                    "on_by_default": false
                  }
                ],
                "min_selected_modifiers": null,
                "max_selected_modifiers": 1,
                "enabled": true,
                "ordinal": 0
              },
              {
                "modifier_list_id": "QCJYB6ZVSXTCPFFTCCNI7PXP",
                "modifier_overrides": [
                  {
                    "modifier_id": "NH7ULSTY4VWBMWRU6C2W6ZJB",
                    "on_by_default": false
                  }
                ],
                "min_selected_modifiers": null,
                "max_selected_modifiers": 1,
                "enabled": true,
                "ordinal": 1
              }
            ],
            "variations": [
              {
                "type": "ITEM_VARIATION",
                "id": "57C4HJ3EXLZOFGCOV7CML65Y",
                "version": 1747219343774,
                "present_at_all_locations": false,
                "present_at_location_ids": [
                  "LW5CN6FQCFVC3"
                ],
                "item_variation_data": {
                  "item_id": "G3CBOLUUFYELOAJSYVID5QLO",
                  "pricing_type": "FIXED_PRICING",
                  "price_money": {
                    "amount": 1200,
                    "currency": "USD"
                  },
                  "location_overrides": [
                    {
                      "location_id": "LW5CN6FQCFVC3",
                      "track_inventory": null,
                      "inventory_alert_threshold": null
                    }
                  ],
                  "track_inventory": false
                }
              }
            ],
            "product_type": "FOOD_AND_BEV",
            "image_ids": [
              "VJH4GVNRZPREKTMAFIPUWJYZ"
            ],
            "categories": [
              {
                "id": "7DN3E3UHYKADHQSEIL25QMKT"
              }
            ],
            "description_html": "MP2025051400111",
            "is_archived": false,
            "reporting_category": {
              "id": "7DN3E3UHYKADHQSEIL25QMKT"
            }
          }
        }
      ]
    }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [May 14, 2025, 3:39pm UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/2 "2025-05-14T15:39:56Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Update Catalog Objects](https://developer.squareup.com/docs/catalog-api/update-catalog-objects)**
>
> The UpsertCatalogObject endpoint updates one item at a time, whereas the BatchUpsertCatalogObjects endpoint can update multiple objects at the same time.

> **[Catalog API](https://developer.squareup.com/docs/catalog-api/what-it-does)**
>
> Learn about creating and managing a product catalog with the Square Catalog API.

> **Additional Documentation**
>
> [Work with Images](https://developer.squareup.com/docs/catalog-api/cookbook/create-catalog-image)  
> [Manage Images in a Square Catalog](https://developer.squareup.com/docs/catalog-api/manage-images)  
> [Design a Catalog](https://developer.squareup.com/docs/catalog-api/design-a-catalog)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<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:** [May 14, 2025, 5:35pm UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/3 "2025-05-14T17:35:47Z")

</div>

Was there a previous description for that object prior to the update? 🙂

---

<div class="post-metadata">

**Author:** ![murphyzhang](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@murphyzhang](https://developer.squareup.com/forums/u/murphyzhang)\
**Post date:** [May 15, 2025, 2:19am UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/4 "2025-05-15T02:19:10Z")

</div>

Yes, The same description already existed before the update.

---

<div class="post-metadata">

**Author:** ![murphyzhang](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@murphyzhang](https://developer.squareup.com/forums/u/murphyzhang)\
**Post date:** [May 15, 2025, 2:22am UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/5 "2025-05-15T02:22:45Z")

</div>

Hi Bryan-Square,  
Sorry, Why can’t I reply to your message?

 ![image](https://global.discourse-cdn.com/square/original/2X/4/46273135f0e9d0f895ca7ff5f551005e249f7a6c.png)

---

<div class="post-metadata">

**Author:** ![murphyzhang](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@murphyzhang](https://developer.squareup.com/forums/u/murphyzhang)\
**Post date:** [May 15, 2025, 2:23am UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/6 "2025-05-15T02:23:30Z")

</div>

Could you please help me check it?

---

<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:** [May 15, 2025, 4:34pm UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/7 "2025-05-15T16:34:49Z")

</div>

Yeah, that `422` error means that the response was too short. Is this the only item that this happened to? 🙂

---

<div class="post-metadata">

**Author:** ![murphyzhang](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@murphyzhang](https://developer.squareup.com/forums/u/murphyzhang)\
**Post date:** [May 20, 2025, 3:14pm UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/8 "2025-05-20T15:14:33Z")

</div>

Please help me check the issue where the description is set to a null value.

---

<div class="post-metadata">

**Author:** ![murphyzhang](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@murphyzhang](https://developer.squareup.com/forums/u/murphyzhang)\
**Post date:** [May 27, 2025, 4:00pm UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/9 "2025-05-27T16:00:15Z")

</div>

Hi Bryan, Hope you’re doing well! I just wanted to follow up on my previous message regarding [Update ItemData Description]. Looking forward to hearing from you when you get a chance.

---

<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:** [June 2, 2025, 4:33pm UTC](https://developer.squareup.com/forums/t/itemdata-description-update-failed-batch-upsert-catalog/22311/10 "2025-06-02T16:33:31Z")

</div>

Do you have a recent example of this behavior? 🙂
