--- title: InventoryShipmentSetBarcodeUserError - GraphQL Admin description: An error that occurs during the execution of `InventoryShipmentSetBarcode`. api_version: 2026-04 api_name: admin type: object api_type: graphql 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 --- # 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. * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required ### Arguments The ID of the inventory shipment to set the barcode on. * barcode [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) required A unique barcode for the shipment. *** *** ## 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)