Metafield Definition Create User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to ADMIN_ACCESS_INPUT_NOT_ALLOWEDADMIN_
ACCESS_ INPUT_ NOT_ ALLOWED Admin access can only be specified for app-owned metafield definitions.
- Anchor to BLANKBLANK
The input value is blank.
- Anchor to CAPABILITY_REQUIRED_BUT_DISABLEDCAPABILITY_
REQUIRED_ BUT_ DISABLED A capability is required for the definition type but is disabled.
- Anchor to DISALLOWED_OWNER_TYPEDISALLOWED_
OWNER_ TYPE Owner type can't be used in this mutation.
- Anchor to DUPLICATE_OPTIONDUPLICATE_
OPTION A duplicate option.
- Anchor to INCLUSIONINCLUSION
The input value isn't included in the list.
- Anchor to INVALIDINVALID
The input value is invalid.
- Anchor to INVALID_CAPABILITYINVALID_
CAPABILITY The metafield definition capability is invalid.
- Anchor to INVALID_CHARACTERINVALID_
CHARACTER A field contains an invalid character.
- Anchor to INVALID_CONSTRAINTSINVALID_
CONSTRAINTS The metafield definition constraints are invalid.
- Anchor to INVALID_INPUT_COMBINATIONINVALID_
INPUT_ COMBINATION The input combination is invalid.
- Anchor to INVALID_OPTIONINVALID_
OPTION An invalid option.
- Anchor to LIMIT_EXCEEDEDLIMIT_
EXCEEDED The maximum limit of definitions per owner type has exceeded.
- Anchor to OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONSOWNER_
TYPE_ LIMIT_ EXCEEDED_ FOR_ AUTOMATED_ COLLECTIONS You have reached the maximum allowed definitions for automated collections.
- Anchor to PINNED_LIMIT_REACHEDPINNED_
LIMIT_ REACHED The pinned limit has been reached for the owner type.
- Anchor to PRESENTPRESENT
The input value needs to be blank.
- Anchor to RESERVED_NAMESPACE_KEYRESERVED_
NAMESPACE_ KEY This namespace and key combination is reserved for standard definitions.
- Anchor to RESOURCE_TYPE_LIMIT_EXCEEDEDRESOURCE_
TYPE_ LIMIT_ EXCEEDED The definition limit per owner type has exceeded.
- Anchor to TAKENTAKEN
The input value is already taken.
- Anchor to TOO_LONGTOO_
LONG The input value is too long.
- Anchor to TOO_SHORTTOO_
SHORT The input value is too short.
- Anchor to TYPE_NOT_ALLOWED_FOR_CONDITIONSTYPE_
NOT_ ALLOWED_ FOR_ CONDITIONS The definition type is not eligible to be used as collection condition.
- Anchor to UNSTRUCTURED_ALREADY_EXISTSUNSTRUCTURED_
ALREADY_ EXISTS This namespace and key combination is already in use for a set of your metafields.
- Anchor to UNSUPPORTED_PINNINGUNSUPPORTED_
PINNING The metafield definition does not support pinning.
Anchor to FieldsFields
- •OBJECT
An error that occurs during the execution of
.