stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetafieldDefinitionCreateUserErrorCode

AdminTypes.MetafieldDefinitionCreateUserErrorCode enum

Possible error codes that can be returned by MetafieldDefinitionCreateUserError.

Signature:

export declare enum MetafieldDefinitionCreateUserErrorCode 

Enumeration Members

Member Value Description
DuplicateOption "DUPLICATE_OPTION" A duplicate option.
GrantLimitExceeded "GRANT_LIMIT_EXCEEDED" The maximum limit of grants per definition type has been exceeded.
Inclusion "INCLUSION" The input value isn’t included in the list.
Invalid "INVALID" The input value is invalid.
InvalidCharacter "INVALID_CHARACTER" A field contains an invalid character.
InvalidOption "INVALID_OPTION" An invalid option.
LimitExceeded "LIMIT_EXCEEDED" The maximum limit of definitions per owner type has exceeded.
OwnerTypeLimitExceededForAutomatedCollections "OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS" You have reached the maximum allowed definitions for automated collections.
PinnedLimitReached "PINNED_LIMIT_REACHED" The pinned limit has been reached for the owner type.
Present "PRESENT" The input value needs to be blank.
ReservedNamespaceKey "RESERVED_NAMESPACE_KEY" This namespace and key combination is reserved for standard definitions.
ResourceTypeLimitExceeded "RESOURCE_TYPE_LIMIT_EXCEEDED" The definition limit per owner type has exceeded.
Taken "TAKEN" The input value is already taken.
TooLong "TOO_LONG" The input value is too long.
TooShort "TOO_SHORT" The input value is too short.
TypeNotAllowedForConditions "TYPE_NOT_ALLOWED_FOR_CONDITIONS" The definition type is not eligible to be used as collection condition.
UnstructuredAlreadyExists "UNSTRUCTURED_ALREADY_EXISTS" This namespace and key combination is already in use for a set of your metafields.