Anchor to section titled 'undefined'

MetafieldDefinitionCreateUserErrorCode
enum

Possible error codes that can be returned by MetafieldDefinitionCreateUserError.


value-duplicateoption
DUPLICATE_OPTION

A duplicate option.

value-grantlimitexceeded
GRANT_LIMIT_EXCEEDED

The maximum limit of grants per definition type has been exceeded.

The input value isn't included in the list.

The input value is invalid.

value-invalidcharacter
INVALID_CHARACTER

A field contains an invalid character.

value-invalidinputcombination
INVALID_INPUT_COMBINATION

The input combination is invalid.

value-invalidoption
INVALID_OPTION

An invalid option.

value-limitexceeded
LIMIT_EXCEEDED

The maximum limit of definitions per owner type has exceeded.

value-ownertypelimitexceededforautomatedcollections
OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS

You have reached the maximum allowed definitions for automated collections.

value-pinnedlimitreached
PINNED_LIMIT_REACHED

The pinned limit has been reached for the owner type.

The input value needs to be blank.

value-reservednamespacekey
RESERVED_NAMESPACE_KEY

This namespace and key combination is reserved for standard definitions.

value-resourcetypelimitexceeded
RESOURCE_TYPE_LIMIT_EXCEEDED

The definition limit per owner type has exceeded.

The input value is already taken.

The input value is too long.

The input value is too short.

value-typenotallowedforconditions
TYPE_NOT_ALLOWED_FOR_CONDITIONS

The definition type is not eligible to be used as collection condition.

value-unstructuredalreadyexists
UNSTRUCTURED_ALREADY_EXISTS

This namespace and key combination is already in use for a set of your metafields.


Was this section helpful?

The error code.


Was this section helpful?
Map
MetafieldDefinitionCreateUserErrorCode