---
title: "CustomerSmsMarketingConsentErrorCode"
description: "SMS subscription 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/customer-sms-marketing-consent-error-code'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/customer-sms-marketing-consent-error-code.md'
---
# CustomerSmsMarketingConsentErrorCode

SMS subscription error enum

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

## Type Signature

`CustomerSmsMarketingConsentErrorCode`

## Values

* `INCLUSION`

  Input parameters are not included in the list

* `INTERNAL_ERROR`

  Internal error

* `INVALID`

  Invalid input

* `MISSING_ARGUMENT`

  Missing required parameter

## Schema Definition

```graphql
enum CustomerSmsMarketingConsentErrorCode { 
	INCLUSION 
	INTERNAL_ERROR 
	INVALID 
	MISSING_ARGUMENT  
}
```

## Field from

* [CustomerSmsMarketingConsentError](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-sms-marketing-consent-error.md).code

  The 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).

