---
title: UserErrorsCustomerUserErrorsCode - Customer API
description: Possible error codes that can be returned by `UserErrorsCustomerUserErrors`.
api_version: 2026-01
api_name: customer
type: enum
api_type: graphql
source_url:
  html: >-
    https://shopify.dev/docs/api/customer/latest/enums/UserErrorsCustomerUserErrorsCode
  md: >-
    https://shopify.dev/docs/api/customer/latest/enums/UserErrorsCustomerUserErrorsCode.md
---

# User​Errors​Customer​User​Errors​Code

enum

Possible error codes that can be returned by `UserErrorsCustomerUserErrors`.

## Valid values

* CONTAINS\_​HTML\_​TAGS

  Input contains HTML tags.

* CONTAINS\_​URL

  Input contains URL.

* CUSTOMER\_​DOES\_​NOT\_​EXIST

  The customer does not exist.

* CUSTOMER\_​INPUT\_​ARGUMENT\_​EMPTY

  The personal information input argument is empty.

* INVALID

  The personal information field is not valid.

* TOO\_​LONG

  The personal information field is too long.

***

## Fields

* [User​Errors​Customer​User​Errors.code](https://shopify.dev/docs/api/customer/latest/objects/UserErrorsCustomerUserErrors#field-UserErrorsCustomerUserErrors.fields.code)

  OBJECT

  Provides error codes for failed personal information mutations.

***

## Map

### Fields with this enum

* [User​Errors​Customer​User​Errors.code](https://shopify.dev/docs/api/customer/latest/objects/UserErrorsCustomerUserErrors#field-UserErrorsCustomerUserErrors.fields.code)
