---
title: InventoryShipmentSetBarcodeUserError - GraphQL Admin
description: An error that occurs during the execution of `InventoryShipmentSetBarcode`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipmentSetBarcodeUserError
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipmentSetBarcodeUserError.md
api_name: admin
api_type: graphql
type: object
---

# Inventory​Shipment​Set​Barcode​User​Error

object

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

## Fields

* code

  [Inventory​Shipment​Set​Barcode​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/InventoryShipmentSetBarcodeUserErrorCode)

  The error code.

* field

  [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The path to the input field that caused the error.

* message

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [inventory​Shipment​Set​Barcode](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryShipmentSetBarcode)

  mutation

  Sets the barcode on an inventory shipment.

  * barcode

    [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

    required

    ### Arguments

    A unique barcode for the shipment.

  * id

    [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    The ID of the inventory shipment to set the barcode on.

  ***

***

## InventoryShipmentSetBarcodeUserError Mutations

### Mutated by

* [inventory​Shipment​Set​Barcode](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryShipmentSetBarcode)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)

  interface

***

## InventoryShipmentSetBarcodeUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)
