--- title: StandardMetafieldDefinitionEnableUserError - GraphQL Admin description: An error that occurs during the execution of `StandardMetafieldDefinitionEnable`. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/standardmetafielddefinitionenableusererror md: https://shopify.dev/docs/api/admin-graphql/latest/objects/standardmetafielddefinitionenableusererror.md --- # Standard​Metafield​Definition​Enable​User​Error object An error that occurs during the execution of `StandardMetafieldDefinitionEnable`. ## Fields * code [Standard​Metafield​Definition​Enable​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/StandardMetafieldDefinitionEnableUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [standard​Metafield​Definition​Enable](https://shopify.dev/docs/api/admin-graphql/latest/mutations/standardMetafieldDefinitionEnable) mutation Activates the specified standard metafield definition from its template. Refer to the [list of standard metafield definition templates](https://shopify.dev/apps/metafields/definitions/standard-definitions). *** ## <\~> StandardMetafieldDefinitionEnableUserError Mutations ### Mutated by * <\~>[standard​Metafield​Definition​Enable](https://shopify.dev/docs/api/admin-graphql/latest/mutations/standardMetafieldDefinitionEnable) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError) interface *** ## ||-StandardMetafieldDefinitionEnableUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)