Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to StandardMetafieldDefinitionEnableUserErrorCode

StandardMetafieldDefinitionEnableUserErrorCode

enum

Possible error codes that can be returned by StandardMetafieldDefinitionEnableUserError.

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.

•

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?