Product Variants Bulk Create User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to APP_NOT_AUTHORIZEDAPP_NOT_AUTHORIZED
ApiPermission metafields can only be created or updated by the app owner.
- Anchor to BLANKBLANK
The input value is 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 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 INTERNAL_ERRORINTERNAL_ERROR
An internal error occurred.
- Anchor to INVALIDINVALID
Invalid input detected.
- 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 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_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).