Metafield Definition Create User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to BLANKBLANK
The input value is blank.
- Anchor to DUPLICATE_OPTIONDUPLICATE_OPTION
A duplicate option.
- Anchor to GRANT_LIMIT_EXCEEDEDGRANT_LIMIT_EXCEEDED
The maximum limit of grants per definition type has been exceeded.
- 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_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.