# CustomerUserError - storefront - OBJECT Version: 2024-10 ## Description Represents an error that happens during execution of a customer mutation. ### Access Scopes ## Fields * [code](/docs/api/storefront/2024-10/enums/CustomerErrorCode): CustomerErrorCode - The error code. * [field](/docs/api/storefront/2024-10/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/storefront/2024-10/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [customerAccessTokenCreate](/docs/api/storefront/2024-10/mutations/customerAccessTokenCreate) Creates a customer access token. The customer access token is required to modify the customer object in any way. * [customerAccessTokenCreateWithMultipass](/docs/api/storefront/2024-10/mutations/customerAccessTokenCreateWithMultipass) Creates a customer access token using a [multipass token](https://shopify.dev/api/multipass) instead of email and password. A customer record is created if the customer doesn't exist. If a customer record already exists but the record is disabled, then the customer record is enabled. * [customerActivateByUrl](/docs/api/storefront/2024-10/mutations/customerActivateByUrl) Activates a customer with the activation url received from `customerCreate`. * [customerActivate](/docs/api/storefront/2024-10/mutations/customerActivate) Activates a customer. * [customerAddressCreate](/docs/api/storefront/2024-10/mutations/customerAddressCreate) Creates a new address for a customer. * [customerAddressDelete](/docs/api/storefront/2024-10/mutations/customerAddressDelete) Permanently deletes the address of an existing customer. * [customerAddressUpdate](/docs/api/storefront/2024-10/mutations/customerAddressUpdate) Updates the address of an existing customer. * [customerCreate](/docs/api/storefront/2024-10/mutations/customerCreate) Creates a new customer. * [customerDefaultAddressUpdate](/docs/api/storefront/2024-10/mutations/customerDefaultAddressUpdate) Updates the default address of an existing customer. * [customerRecover](/docs/api/storefront/2024-10/mutations/customerRecover) Sends a reset password email to the customer. The reset password email contains a reset password URL and token that you can pass to the [`customerResetByUrl`](https://shopify.dev/api/storefront/latest/mutations/customerResetByUrl) or [`customerReset`](https://shopify.dev/api/storefront/latest/mutations/customerReset) mutation to reset the customer password. This mutation is throttled by IP. With private access, you can provide a [`Shopify-Storefront-Buyer-IP`](https://shopify.dev/api/usage/authentication#optional-ip-header) instead of the request IP. The header is case-sensitive and must be sent as `Shopify-Storefront-Buyer-IP`. Make sure that the value provided to `Shopify-Storefront-Buyer-IP` is trusted. Unthrottled access to this mutation presents a security risk. * [customerResetByUrl](/docs/api/storefront/2024-10/mutations/customerResetByUrl) "Resets a customer’s password with the reset password URL received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation." * [customerReset](/docs/api/storefront/2024-10/mutations/customerReset) "Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation." * [customerUpdate](/docs/api/storefront/2024-10/mutations/customerUpdate) Updates an existing customer. ## Related Unions ## Examples