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).
Anchor to FieldsFields
- •OBJECT
Error codes for failed product variant bulk create mutations.