---
title: InventoryShipmentCreateInTransitUserErrorCode - GraphQL Admin
description: >-
  Possible error codes that can be returned by
  `InventoryShipmentCreateInTransitUserError`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/InventoryShipmentCreateInTransitUserErrorCode
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/InventoryShipmentCreateInTransitUserErrorCode.md
api_name: admin
api_type: graphql
type: enum
---

# Inventory​Shipment​Create​In​Transit​User​Error​Code

enum

Possible error codes that can be returned by `InventoryShipmentCreateInTransitUserError`.

## Valid values

* BARCODE\_​DUPLICATE

  This barcode is already assigned to another shipment.

* BARCODE\_​TOO\_​LONG

  Barcode must be 255 characters or less.

* DUPLICATE\_​ITEM

  A single item can't be listed twice.

* EMPTY\_​SHIPMENT\_​INPUT

  The shipment input cannot be empty.

* IDEMPOTENCY\_​CONCURRENT\_​REQUEST

  This request is currently in progress, please try again.

* IDEMPOTENCY\_​KEY\_​PARAMETER\_​MISMATCH

  The same idempotency key cannot be used with different operation parameters.

* IDEMPOTENCY\_​PREVIOUS\_​ATTEMPT\_​FAILED

  A previous request with this idempotency key failed. Retry with a new idempotency key.

* INVALID\_​ITEM

  One or more items are not valid.

* INVALID\_​QUANTITY

  The quantity is invalid.

* INVALID\_​SHIPMENT\_​INPUT

  The shipment input is invalid.

* INVALID\_​TRANSFER\_​STATUS

  Current transfer status does not support this operation.

* INVALID\_​URL

  The URL is invalid.

* INVENTORY\_​STATE\_​NOT\_​ACTIVE

  The item is not stocked at the intended location.

* ITEM\_​NOT\_​FOUND

  The item was not found.

* ITEMS\_​EMPTY

  The list of line items is empty.

* LOCATION\_​NOT\_​ACTIVE

  The location selected is not active.

* SHIPMENT\_​NOT\_​FOUND

  The shipment was not found.

* TRANSFER\_​NOT\_​FOUND

  The transfer was not found.

* UNTRACKED\_​ITEM

  The item does not track inventory.

***

## Fields

* [Inventory​Shipment​Create​In​Transit​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipmentCreateInTransitUserError#field-InventoryShipmentCreateInTransitUserError.fields.code)

  OBJECT

  An error that occurs during the execution of `InventoryShipmentCreateInTransit`.

***

## Map

### Fields with this enum

* [Inventory​Shipment​Create​In​Transit​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipmentCreateInTransitUserError#field-InventoryShipmentCreateInTransitUserError.fields.code)
