---
title: >-
  inventoryTransferDelete adds INVALID_STATE error code for transfers with
  in-progress product import - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/posts/inventorytransferdelete-adds-invalidstate-error-code-for-transfers-with-in-progress-product-import
  md: >-
    https://shopify.dev/changelog/posts/inventorytransferdelete-adds-invalidstate-error-code-for-transfers-with-in-progress-product-import.md
metadata:
  effectiveApiVersion: 2026-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2026-03-16T12:03:09-04:00'
  postedAt: '2026-03-17T09:00:00-04:00'
  updatedAt: '2026-03-16T15:07:46-04:00'
  effectiveAt: '2026-03-17T09:00:00-04:00'
---

March 17, 2026

# `inventoryTransferDelete` adds `INVALID_STATE` error code for transfers with in-progress product import

DateMarch 17, 2026

Version[2026-07](https://shopify.dev/changelog?api_version=2026-07)

FlagsNew

SurfacesAPI

Affected APIs[Admin GraphQL API](https://shopify.dev/changelog?api_type=admin-graphql)

Starting in version 2026-07, the `inventoryTransferDelete` mutation will return a new error code: `INVALID_STATE`. This error will be returned when a client attempts to delete an inventory transfer while a product import related to that transfer is in progress.

* **New error code added:** `INVALID_STATE`
* **API affected:** `inventoryTransferDelete` mutation
* **Error enum updated:** `InventoryTransferDeleteUserErrorCode`

For older API versions, the mutation will not include the `INVALID_STATE` code in the error payload. However, the `message` field will still provide context about the blocking product import.

For more details, see the updated [InventoryTransferDeleteUserErrorCode enum](https://shopify.dev/docs/api/admin-graphql/latest/enums/InventoryTransferDeleteUserErrorCode) and the [inventoryTransferDelete mutation documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryTransferDelete).
