--- title: InventoryShipmentSetBarcodeUserError - GraphQL Admin description: An error that occurs during the execution of `InventoryShipmentSetBarcode`. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/InventoryShipmentSetBarcodeUserError md: >- https://shopify.dev/docs/api/admin-graphql/unstable/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/unstable/enums/InventoryShipmentSetBarcodeUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [inventory​Shipment​Set​Barcode](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/inventoryShipmentSetBarcode) mutation Sets the barcode on an inventory shipment. * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required ### Arguments The ID of the inventory shipment to set the barcode on. * barcode [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) required A unique barcode for the shipment. *** *** ## InventoryShipmentSetBarcodeUserError Mutations ### Mutated by * [inventory​Shipment​Set​Barcode](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/inventoryShipmentSetBarcode) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError) interface *** ## InventoryShipmentSetBarcodeUserError Implements ### Implements * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError)