---
title: "CustomerErrorCode"
description: "Possible error codes that can be returned by CustomerUserError."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/customers/enums/customer-error-code'
  md: 'https://developer.shopline.com/docs/storefront-api/customers/enums/customer-error-code.md'
---
# CustomerErrorCode

Possible error codes that can be returned by CustomerUserError.

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`CustomerErrorCode`

## Values

* `VERIFY_TOKEN_ERROR`

  VERIFY_TOKEN_ERROR

* `ACCESS_TOKEN_INVALID`

  Accesstoken invalid

* `RESET_PWD_TOKEN_INVALID`

  RESET_PWD_TOKEN_INVALID

* `USER_LOCK`

  Customer account banned

* `CUSTOMER_WAIT_REGISTER`

  We have emailed %s , please click the link included to register

* `THIRD_PARTY_AUTH_FAILED`

  Login channel authentication failed

* `RESET_PWD_URL_INVALID`

  RESET_PWD_URL_INVALID

* `VERIFY_CODE_ERROR`

  VERIFY_CODE_ERROR

* `VERIFY_CODE_SEND_RATE_LIMIT`

  VERIFY_CODE_SEND_RATE_LIMIT

* `EMAIL_REPEAT`

  This mailbox has been registered

* `MULTIPASS_TOKEN_ERROR`

  MULTIPASS_TOKEN_ERROR

* `PWD_ERR`

   PWD_ERR

* `SYSTEM_ERROR`

  SYSTEM_ERROR

* `UNAUTHORIZED_APPLICATION`

  UNAUTHORIZED_APPLICATION

* `VERIFY_CODE_SEND_COUNT_LIMIT`

  VERIFY_CODE_SEND_COUNT_LIMIT

* `MOBILE_REPEAT`

  The phone has been registered

* `PRE_CREATE`

  Customer account not activated

* `REQUEST_PWD_FORMAT_ERROR`

  Password format error

* `RISK_CONTROL_INTERCEPT`

  RISK_CONTROL_INTERCEPT

* `VERIFY_CODE_CHECK_LIMIT`

  VERIFY_CODE_CHECK_LIMIT

* `EMAIL_FORMAT_ERROR`

  EMAIL_FORMAT_ERROR

* `LOCK_ACCOUNT_FAIL`

  Try to lock the account to fail , please try again later

* `PARAM_ILLEGAL`

  Illegal parameters

* `VERIFY_CODE_EXPIRED`

  VERIFY_CODE_EXPIRED

* `ACCOUNT_NOT_ACTIVATED`

  ACCOUNT_NOT_ACTIVATED

* `ACTIVATION_URL_INVALID`

  ActivationUrl invalid

* `UPDATE_USER_FAIL`

  UPDATE_USER_FAIL

* `NOT_FOUND`

  NOT_FOUND

* `RISK_CONTROL_CAPTCHA_ERROR`

  RISK_CONTROL_CAPTCHA_ERROR

* `UNIDENTIFIED_CUSTOMER`

  UNIDENTIFIED_CUSTOMER

* `RISK_CONTROL_BEHAVIOR`

  RISK_CONTROL_BEHAVIOR

* `USER_DOES_NOT_EXIST`

  USER_DOES_NOT_EXIST

## Schema Definition

```graphql
enum CustomerErrorCode { 
	VERIFY_TOKEN_ERROR 
	ACCESS_TOKEN_INVALID 
	RESET_PWD_TOKEN_INVALID 
	USER_LOCK 
	CUSTOMER_WAIT_REGISTER 
	THIRD_PARTY_AUTH_FAILED 
	RESET_PWD_URL_INVALID 
	VERIFY_CODE_ERROR 
	VERIFY_CODE_SEND_RATE_LIMIT 
	EMAIL_REPEAT 
	MULTIPASS_TOKEN_ERROR 
	PWD_ERR 
	SYSTEM_ERROR 
	UNAUTHORIZED_APPLICATION 
	VERIFY_CODE_SEND_COUNT_LIMIT 
	MOBILE_REPEAT 
	PRE_CREATE 
	REQUEST_PWD_FORMAT_ERROR 
	RISK_CONTROL_INTERCEPT 
	VERIFY_CODE_CHECK_LIMIT 
	EMAIL_FORMAT_ERROR 
	LOCK_ACCOUNT_FAIL 
	PARAM_ILLEGAL 
	VERIFY_CODE_EXPIRED 
	ACCOUNT_NOT_ACTIVATED 
	ACTIVATION_URL_INVALID 
	UPDATE_USER_FAIL 
	NOT_FOUND 
	RISK_CONTROL_CAPTCHA_ERROR 
	UNIDENTIFIED_CUSTOMER 
	RISK_CONTROL_BEHAVIOR 
	USER_DOES_NOT_EXIST  
}
```

## Field from

* [CustomerUserError](https://developer.shopline.com/docs/storefront-api/customers/objects/customer-user-error.md).code

  code

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

