Product Variants Bulk Create User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- APP_NOT_AUTHORIZED
- BARCODE_CHECKSUM_VALIDATION_FAILED
- BARCODE_VALUE_TOO_LONG
- BLANK
- BLANK_BARCODE_VALUE
- CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE
- CAPABILITY_VIOLATION
- DISALLOWED_OWNER_TYPE
- DUPLICATE_BARCODE_VALUE
- GREATER_THAN_OR_EQUAL_TO
- INCLUSION
- INCOMPATIBLE_BARCODE_FIELDS
- INTERNAL_ERROR
- INVALID
- INVALID_BARCODE_CHARACTERS
- INVALID_BARCODE_LENGTH
- INVALID_BARCODE_PREFIX
- INVALID_BARCODE_SEPARATORS
- INVALID_BARCODE_TYPE
- INVALID_INPUT
- INVALID_TYPE
- INVALID_VALUE
- INVENTORY_QUANTITIES_LIMIT_EXCEEDED
- LOCAL_CURRENCY_GIFT_CARD_PRICE_MUST_BE_ZERO
- MUST_BE_FOR_THIS_PRODUCT
- NEED_TO_ADD_OPTION_VALUES
- NEGATIVE_PRICE_VALUE
- NO_KEY_ON_CREATE
- NOT_DEFINED_FOR_SHOP
- OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS
- PRESENT
- PRODUCT_DOES_NOT_EXIST
- PRODUCT_SUSPENDED
- SUBSCRIPTION_VIOLATION
- TAKEN
- TOO_LONG
- TOO_MANY_BARCODES
- TOO_MANY_INVENTORY_LOCATIONS
- TOO_SHORT
- TRACKED_VARIANT_LOCATION_NOT_FOUND
- UNSTRUCTURED_RESERVED_NAMESPACE
- UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION
- VARIANT_ALREADY_EXISTS
- VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE
- Anchor to APP_NOT_AUTHORIZEDAPP_
NOT_ AUTHORIZED ApiPermission metafields can only be created or updated by the app owner.
- Anchor to BARCODE_CHECKSUM_VALIDATION_FAILEDBARCODE_
CHECKSUM_ VALIDATION_ FAILED Barcode checksum validation failed.
- Anchor to BARCODE_VALUE_TOO_LONGBARCODE_
VALUE_ TOO_ LONG Barcode value is too long.
- Anchor to BLANKBLANK
The input value is blank.
- Anchor to BLANK_BARCODE_VALUEBLANK_
BARCODE_ VALUE Barcode value cannot be blank.
- Anchor to CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUECANNOT_
SET_ NAME_ FOR_ LINKED_ OPTION_ VALUE Cannot set name for an option value linked to a metafield.
- Anchor to CAPABILITY_VIOLATIONCAPABILITY_
VIOLATION The metafield violates a capability restriction.
- Anchor to DISALLOWED_OWNER_TYPEDISALLOWED_
OWNER_ TYPE Owner type can't be used in this mutation.
- Anchor to DUPLICATE_BARCODE_VALUEDUPLICATE_
BARCODE_ VALUE Duplicate barcode value within the same variant.
- Anchor to GREATER_THAN_OR_EQUAL_TOGREATER_
THAN_ OR_ EQUAL_ TO Variant price must be greater than or equal to zero.
- Anchor to INCLUSIONINCLUSION
The input value isn't included in the list.
- Anchor to INCOMPATIBLE_BARCODE_FIELDSINCOMPATIBLE_
BARCODE_ FIELDS Cannot provide both 'barcode' and 'barcodes' for the same variant.
- Anchor to INTERNAL_ERRORINTERNAL_
ERROR An internal error occurred.
- Anchor to INVALIDINVALID
Invalid input detected.
- Anchor to INVALID_BARCODE_CHARACTERSINVALID_
BARCODE_ CHARACTERS Barcode value contains invalid characters for its type.
- Anchor to INVALID_BARCODE_LENGTHINVALID_
BARCODE_ LENGTH Barcode value has an invalid length for its type.
- Anchor to INVALID_BARCODE_PREFIXINVALID_
BARCODE_ PREFIX Barcode value has an invalid prefix for its type.
- Anchor to INVALID_BARCODE_SEPARATORSINVALID_
BARCODE_ SEPARATORS Barcode value contains invalid spaces or hyphens for its type.
- Anchor to INVALID_BARCODE_TYPEINVALID_
BARCODE_ TYPE Barcode type is not supported. Allowed barcode types are: upc, ean, isbn, gtin, asin.
- Anchor to INVALID_INPUTINVALID_
INPUT Input is invalid.
- Anchor to INVALID_TYPEINVALID_
TYPE The type is invalid.
- Anchor to INVALID_VALUEINVALID_
VALUE The value is invalid for the metafield type or for the definition options.
- Anchor to INVENTORY_QUANTITIES_LIMIT_EXCEEDEDINVENTORY_
QUANTITIES_ LIMIT_ EXCEEDED Inventory quantity input exceeds the limit of 50000. Consider using separate
mutations.- Anchor to LOCAL_CURRENCY_GIFT_CARD_PRICE_MUST_BE_ZEROLOCAL_
CURRENCY_ GIFT_ CARD_ PRICE_ MUST_ BE_ ZERO Price must be 0 for variants of products with a gift card issuance currency.
- Anchor to MUST_BE_FOR_THIS_PRODUCTMUST_
BE_ FOR_ THIS_ PRODUCT Input must be for this product.
- Anchor to NEED_TO_ADD_OPTION_VALUESNEED_
TO_ ADD_ OPTION_ VALUES Variant options are not enough.
- Anchor to NEGATIVE_PRICE_VALUENEGATIVE_
PRICE_ VALUE Price cannot take a negative value.
- Anchor to NO_KEY_ON_CREATENO_
KEY_ ON_ CREATE On create, this key cannot be used.
- Anchor to NOT_DEFINED_FOR_SHOPNOT_
DEFINED_ FOR_ SHOP Input is not defined for this shop.
- Anchor to OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONSOPTION_
VALUES_ FOR_ NUMBER_ OF_ UNKNOWN_ OPTIONS Variant options are more than the product options.
- Anchor to PRESENTPRESENT
The input value needs to be blank.
- Anchor to PRODUCT_DOES_NOT_EXISTPRODUCT_
DOES_ NOT_ EXIST Product does not exist.
- Anchor to PRODUCT_SUSPENDEDPRODUCT_
SUSPENDED Product is suspended.
- Anchor to SUBSCRIPTION_VIOLATIONSUBSCRIPTION_
VIOLATION You reached the limit of available SKUs in your current plan.
- Anchor to TAKENTAKEN
The input value is already taken.
- Anchor to TOO_LONGTOO_
LONG The input value is too long.
- Anchor to TOO_MANY_BARCODESTOO_
MANY_ BARCODES Can only specify a maximum of 20 barcodes per variant.
- Anchor to TOO_MANY_INVENTORY_LOCATIONSTOO_
MANY_ INVENTORY_ LOCATIONS Inventory locations cannot exceed the allowed resource limit or 10.
- Anchor to TOO_SHORTTOO_
SHORT The input value is too short.
- Anchor to TRACKED_VARIANT_LOCATION_NOT_FOUNDTRACKED_
VARIANT_ LOCATION_ NOT_ FOUND Quantity could not be set. The location was not found.
- Anchor to UNSTRUCTURED_RESERVED_NAMESPACEUNSTRUCTURED_
RESERVED_ NAMESPACE Unstructured reserved namespace.
- Anchor to UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATIONUNSUPPORTED_
COMBINED_ LISTING_ PARENT_ OPERATION Operation is not supported for a combined listing parent product.
- Anchor to VARIANT_ALREADY_EXISTSVARIANT_
ALREADY_ EXISTS Variant already exists.
- Anchor to VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUEVARIANT_
ALREADY_ EXISTS_ CHANGE_ OPTION_ VALUE Variant options already exist. Please change the variant option(s).
Anchor to FieldsFields
- •OBJECT
Error codes for failed product variant bulk create mutations.