Skip to main content
Anchor to StandardMetafieldDefinitionsEnableUserErrorCode

StandardMetafieldDefinitionsEnableUserErrorCode

enum

Possible error codes that can be returned by StandardMetafieldDefinitionsEnableUserError.

Anchor to ADMIN_ACCESS_INPUT_NOT_ALLOWEDADMIN_ACCESS_INPUT_NOT_ALLOWED

Admin access can only be specified for app-owned metafield definitions.

The input value is invalid.

The metafield definition capability is invalid.

Anchor to INVALID_INPUT_COMBINATIONINVALID_INPUT_COMBINATION

The input combination is invalid.

Anchor to LESS_THAN_OR_EQUAL_TOLESS_THAN_OR_EQUAL_TO

Too many standard definitions were provided.

The maximum number of definitions per owner type has been exceeded.

The input value is already taken.

The standard metafield definition template was not found.

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

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

The metafield definition does not support pinning.


Was this section helpful?

•OBJECT

An error that occurs during the execution of StandardMetafieldDefinitionsEnable.


Was this section helpful?