Skip to main content
Anchor to MetafieldDefinitionCreateUserErrorCode

MetafieldDefinitionCreateUserErrorCode

enum

Possible error codes that can be returned by MetafieldDefinitionCreateUserError.

The input value is blank.

A duplicate option.

Anchor to GRANT_LIMIT_EXCEEDEDGRANT_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.

The metafield definition capability is invalid.

A field contains an invalid character.

Anchor to INVALID_INPUT_COMBINATIONINVALID_INPUT_COMBINATION

The input combination is invalid.

An invalid option.

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.

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.

The input value is already taken.

The input value is too long.

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.


Was this section helpful?
OSZAR »