---
title: "CustomerSmsMarketingConsentErrorCode"
description: "SMS订阅错误枚举"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20260901
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/enums/customer-sms-marketing-consent-error-code'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/enums/customer-sms-marketing-consent-error-code.md'
---
# CustomerSmsMarketingConsentErrorCode

SMS订阅错误枚举

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

## Type Signature

`CustomerSmsMarketingConsentErrorCode`

## Values

* `INCLUSION`

  入参不包括在列表中

* `INTERNAL_ERROR`

  内部错误

* `INVALID`

  输入值无效

* `MISSING_ARGUMENT`

  缺少必需的参数

## Schema Definition

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

## Field from

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

  错误码

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes)。

