--- title: InventorySetQuantitiesUserErrorCode - GraphQL Admin description: >- Possible error codes that can be returned by `InventorySetQuantitiesUserError`. api_version: 2026-01 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/latest/enums/InventorySetQuantitiesUserErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/latest/enums/InventorySetQuantitiesUserErrorCode.md --- # Inventory​Set​Quantities​User​Error​Code enum Possible error codes that can be returned by `InventorySetQuantitiesUserError`. ## Valid values * CHANGE\_FROM\_QUANTITY\_STALE * COMPARE\_QUANTITY\_REQUIRED * COMPARE\_QUANTITY\_STALE * IDEMPOTENCY\_CONCURRENT\_REQUEST * IDEMPOTENCY\_KEY\_PARAMETER\_MISMATCH * INVALID\_INVENTORY\_ITEM * INVALID\_LOCATION * INVALID\_NAME * INVALID\_QUANTITY\_NEGATIVE * INVALID\_QUANTITY\_TOO\_HIGH * INVALID\_QUANTITY\_TOO\_LOW * INVALID\_REASON * INVALID\_REFERENCE\_DOCUMENT * ITEM\_NOT\_STOCKED\_AT\_LOCATION * NO\_DUPLICATE\_INVENTORY\_ITEM\_ID\_GROUP\_ID\_PAIR * NON\_MUTABLE\_INVENTORY\_ITEM *** ## Fields * *** ## Map ### Fields with this enum * [Inventory​Set​Quantities​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventorySetQuantitiesUserError#field-InventorySetQuantitiesUserError.fields.code)