Product Set User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUESCANNOT_
COMBINE_ LINKED_ AND_ NONLINKED_ OPTION_ VALUES An option cannot have both metafield linked and nonlinked option values.
- Anchor to CAPABILITY_VIOLATIONCAPABILITY_
VIOLATION The metafield violates a capability restriction.
- Anchor to DUPLICATE_LINKED_OPTIONDUPLICATE_
LINKED_ OPTION Cannot link multiple options to the same metafield.
- Anchor to DUPLICATED_METAFIELD_VALUEDUPLICATED_
METAFIELD_ VALUE Duplicated metafield value for linked option.
- Anchor to DUPLICATED_OPTION_NAMEDUPLICATED_
OPTION_ NAME Duplicated option name.
- Anchor to DUPLICATED_OPTION_VALUEDUPLICATED_
OPTION_ VALUE Duplicated option value.
- Anchor to DUPLICATED_VALUEDUPLICATED_
VALUE Duplicated value.
- Anchor to GENERIC_ERRORGENERIC_
ERROR Something went wrong, please try again.
- Anchor to GIFT_CARD_ATTRIBUTE_CANNOT_BE_CHANGEDGIFT_
CARD_ ATTRIBUTE_ CANNOT_ BE_ CHANGED The product gift_card attribute cannot be changed after creation.
- Anchor to GIFT_CARDS_NOT_ACTIVATEDGIFT_
CARDS_ NOT_ ACTIVATED Gift card products can only be created after they have been activated.
- Anchor to HANDLE_NOT_UNIQUEHANDLE_
NOT_ UNIQUE Handle already in use. Please provide a new handle.
- Anchor to ID_NOT_ALLOWEDID_
NOT_ ALLOWED The id field is not allowed if identifier is provided.
- Anchor to INPUT_MISMATCHINPUT_
MISMATCH The identifier value does not match the value of the corresponding field in the input.
- Anchor to INVALID_INPUTINVALID_
INPUT Input is not valid.
- Anchor to INVALID_METAFIELDINVALID_
METAFIELD Metafield is not valid.
- Anchor to INVALID_METAFIELD_VALUE_FOR_LINKED_OPTIONINVALID_
METAFIELD_ VALUE_ FOR_ LINKED_ OPTION Invalid metafield value for linked option.
- Anchor to INVALID_PRODUCTINVALID_
PRODUCT Product is not valid.
- Anchor to INVALID_VARIANTINVALID_
VARIANT Product variant is not valid.
- Anchor to JOB_ERRORJOB_
ERROR Error processing request in the background job.
- Anchor to LINKED_METAFIELD_DEFINITION_NOT_FOUNDLINKED_
METAFIELD_ DEFINITION_ NOT_ FOUND No valid metafield definition found for linked option.
- Anchor to LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOPLINKED_
OPTIONS_ NOT_ SUPPORTED_ FOR_ SHOP Linked options are currently not supported for this shop.
- Anchor to METAFIELD_MISMATCHMETAFIELD_
MISMATCH The input argument
metafields
(if present) must contain thevalue.
- Anchor to MISSING_FIELD_REQUIREDMISSING_
FIELD_ REQUIRED The input field corresponding to the identifier is required.
- Anchor to NOT_FOUNDNOT_
FOUND Resource matching the identifier was not found.
- Anchor to OPTION_DOES_NOT_EXISTOPTION_
DOES_ NOT_ EXIST Option does not exist.
- Anchor to OPTION_VALUE_DOES_NOT_EXISTOPTION_
VALUE_ DOES_ NOT_ EXIST Option value does not exist.
- Anchor to OPTION_VALUES_MISSINGOPTION_
VALUES_ MISSING Each option must have at least one option value specified.
- Anchor to OPTION_VALUES_OVER_LIMITOPTION_
VALUES_ OVER_ LIMIT Option values over limit.
- Anchor to OPTIONS_OVER_LIMITOPTIONS_
OVER_ LIMIT Options over limit.
- Anchor to PRODUCT_DOES_NOT_EXISTPRODUCT_
DOES_ NOT_ EXIST Product does not exist.
- Anchor to PRODUCT_OPTIONS_INPUT_MISSINGPRODUCT_
OPTIONS_ INPUT_ MISSING Must specify product options when updating variants.
- Anchor to PRODUCT_SUSPENDEDPRODUCT_
SUSPENDED Product is suspended.
- Anchor to PRODUCT_VARIANT_DOES_NOT_EXISTPRODUCT_
VARIANT_ DOES_ NOT_ EXIST Product variant does not exist.
- Anchor to VARIANTS_INPUT_MISSINGVARIANTS_
INPUT_ MISSING Must specify variants when updating options.
- Anchor to VARIANTS_OVER_LIMITVARIANTS_
OVER_ LIMIT Number of product variants exceeds shop limit.