--- title: UserErrorsCustomerEmailMarketingUserErrorsCode - Customer API description: Possible error codes that can be returned by `UserErrorsCustomerEmailMarketingUserErrors`. api_version: 2025-01 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/2025-01/enums/UserErrorsCustomerEmailMarketingUserErrorsCode md: https://shopify.dev/docs/api/customer/2025-01/enums/UserErrorsCustomerEmailMarketingUserErrorsCode.md --- # User​Errors​Customer​Email​Marketing​User​Errors​Code enum Possible error codes that can be returned by `UserErrorsCustomerEmailMarketingUserErrors`. ## Valid values * CUSTOMER\_​ALREADY\_​SUBSCRIBED The customer is already subscribed. * EMAIL\_​ADDRESS\_​NOT\_​FOUND The customer does not have an email address. * FAILED\_​TO\_​SUBSCRIBE Subscription failed. * FAILED\_​TO\_​UNSUBSCRIBE Unsubscription failed. *** ## Fields * [User​Errors​Customer​Email​Marketing​User​Errors.​code](https://shopify.dev/docs/api/customer/2025-01/objects/UserErrorsCustomerEmailMarketingUserErrors#field-code) OBJECT Provides error codes for marketing subscribe mutations. *** ## Map ### Fields with this enum * <-|[User​Errors​Customer​Email​Marketing​User​Errors.code](https://shopify.dev/docs/api/customer/2025-01/objects/UserErrorsCustomerEmailMarketingUserErrors#field-code)