--- title: CustomerErrorCode - Storefront API description: Possible error codes that can be returned by `CustomerUserError`. api_version: unstable api_name: storefront source_url: html: 'https://shopify.dev/docs/api/storefront/unstable/enums/CustomerErrorCode' md: 'https://shopify.dev/docs/api/storefront/unstable/enums/CustomerErrorCode.md' --- # Customer​Error​Code enum Possible error codes that can be returned by `CustomerUserError`. ## Valid values * ALREADY\_​ENABLED Customer already enabled. * BAD\_​DOMAIN Input email contains an invalid domain name. * BLANK The input value is blank. * CONTAINS\_​HTML\_​TAGS Input contains HTML tags. * CONTAINS\_​URL Input contains URL. * CUSTOMER\_​DISABLED Customer is disabled. * INVALID The input value is invalid. * INVALID\_​MULTIPASS\_​REQUEST Multipass token is not valid. * NOT\_​FOUND Address does not exist. * PASSWORD\_​STARTS\_​OR\_​ENDS\_​WITH\_​WHITESPACE Input password starts or ends with whitespace. * TAKEN The input value is already taken. * TOKEN\_​INVALID Invalid activation token. * TOO\_​LONG The input value is too long. * TOO\_​SHORT The input value is too short. * UNIDENTIFIED\_​CUSTOMER Unidentified customer. *** ## Fields * [Customer​User​Error.code](https://shopify.dev/docs/api/storefront/unstable/objects/CustomerUserError#field-CustomerUserError.fields.code) OBJECT Represents an error that happens during execution of a customer mutation. *** ## Map ### Fields with this enum * <-|[Customer​User​Error.code](https://shopify.dev/docs/api/storefront/unstable/objects/CustomerUserError#field-CustomerUserError.fields.code)