---
title: "BusinessCustomerErrorCode"
description: "Error enum"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/business-customer-error-code'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/business-customer-error-code.md'
---
# BusinessCustomerErrorCode

Error enum

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

## Type Signature

`BusinessCustomerErrorCode`

## Values

* `USER_EMAIL_EMPTY`

  Customer email empty

* `COMPANY_NOT_EXIST`

  Company does not exist

* `GROUP_COUNT_EXCEEDS_LIMIT`

  segment  count exceeds limit

* `LOCATION_EXIST_ORDER`

  Location has an order

* `MOBILE_REPEAT`

  The phone has been taken

* `REQUEST_LIMIT_EXCEEDED`

  Current limiting

* `NOT_COMPANY_CONTACT`

  Not a company contact

* `UNIDENTIFIED_CUSTOMER`

  Customer not exist

* `USER_NOT_EXIST`

  User not exist

* `COMPANY_LOCATION_ID_ILLEGAL`

  Location id illegal

* `COMPANY_MISS_LOCATION_INFO`

  Missing location information

* `COMPANY_NAME_HAD_USE`

  Company name exist

* `EMAIL_REPEAT`

  The email has been taken

* `GROUP_CODE_NOT_EXIST`

  The segment not exist

* `GROUP_STATUS_INVALID`

  The segment had deleted

* `PARAM_ILLEGAL`

  Illegal parameter

* `REPEAT_OPERATE`

  Repeat operation

* `REPEAT_COMPANY_ADDRESS_TYPE`

  Duplicate address type data

* `UID_HAS_BIND_COMPANY`

  Customer bounded company

* `COMPANY_EXIST_ORDERS`

  Company has an order

* `COMPANY_UNIQUE_LOCATION`

  The unique location of the company cannot be deleted

* `COMPANY_USER_COUNT_EXCEED_LIMIT`

  Exceeds company customer quantity limited to

* `GROUP_NAME_EXIST`

  The segment name exist

* `INTERNAL_ERROR`

  Internal error

## Schema Definition

```graphql
enum BusinessCustomerErrorCode { 
	USER_EMAIL_EMPTY 
	COMPANY_NOT_EXIST 
	GROUP_COUNT_EXCEEDS_LIMIT 
	LOCATION_EXIST_ORDER 
	MOBILE_REPEAT 
	REQUEST_LIMIT_EXCEEDED 
	NOT_COMPANY_CONTACT 
	UNIDENTIFIED_CUSTOMER 
	USER_NOT_EXIST 
	COMPANY_LOCATION_ID_ILLEGAL 
	COMPANY_MISS_LOCATION_INFO 
	COMPANY_NAME_HAD_USE 
	EMAIL_REPEAT 
	GROUP_CODE_NOT_EXIST 
	GROUP_STATUS_INVALID 
	PARAM_ILLEGAL 
	REPEAT_OPERATE 
	REPEAT_COMPANY_ADDRESS_TYPE 
	UID_HAS_BIND_COMPANY 
	COMPANY_EXIST_ORDERS 
	COMPANY_UNIQUE_LOCATION 
	COMPANY_USER_COUNT_EXCEED_LIMIT 
	GROUP_NAME_EXIST 
	INTERNAL_ERROR  
}
```

## Field from

* [BusinessCustomerUserError](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/business-customer-user-error.md).code

  Error code

## Error Handling

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

