--- title: CustomerSmsMarketingConsentErrorCode - GraphQL Admin description: >- Possible error codes that can be returned by `CustomerSmsMarketingConsentError`. api_version: 2025-01 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2025-01/enums/CustomerSmsMarketingConsentErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/2025-01/enums/CustomerSmsMarketingConsentErrorCode.md --- # Customer​Sms​Marketing​Consent​Error​Code enum Possible error codes that can be returned by `CustomerSmsMarketingConsentError`. ## Valid values * INCLUSION The input value isn't included in the list. * INTERNAL\_​ERROR Unexpected internal error happened. * INVALID The input value is invalid. * MISSING\_​ARGUMENT Missing a required argument. *** ## Fields * [Customer​Sms​Marketing​Consent​Error.code](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CustomerSmsMarketingConsentError#field-CustomerSmsMarketingConsentError.fields.code) OBJECT An error that occurs during execution of an SMS marketing consent mutation. *** ## Map ### Fields with this enum * <-|[Customer​Sms​Marketing​Consent​Error.code](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CustomerSmsMarketingConsentError#field-CustomerSmsMarketingConsentError.fields.code)