---
title: "MemberUserError"
description: "Errors that occur when performing membership system operations."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/member-system/objects/member-user-error'
  md: 'https://developer.shopline.com/docs/storefront-api/member-system/objects/member-user-error.md'
---
# MemberUserError

Errors that occur when performing membership system operations.

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

## Fields

* `code`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The error code. Valid values are:
  - `CSM001`: Points feature is disabled.
  - `CSM002`: Points rule is invalid.
  - `CSM003`: Operation is too frequent.
  - `CSM004`: Point grant limit has been reached.
  - `CSM005`: `customerAccessToken` is invalid.
  - `CSM006`: Referral relationship already exists.
   - `CSM007`: Referral information does not exist.

* `field`

  [[String]](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The path to the field that caused the error.

* `message`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The error message.

## Field from

* [ReferralRecordCreatePayload](https://developer.shopline.com/docs/storefront-api/member-system/objects/referral-record-create-payload.md).userErrors

* [CustomRulesPointGrantPayload](https://developer.shopline.com/docs/storefront-api/member-system/objects/custom-rules-point-grant-payload.md).memberUserErrors

