--- title: CustomerSmsMarketingConsentErrorCode - GraphQL Admin description: >- Possible error codes that can be returned by `CustomerSmsMarketingConsentError`. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/CustomerSmsMarketingConsentErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/unstable/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/unstable/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/unstable/objects/CustomerSmsMarketingConsentError#field-CustomerSmsMarketingConsentError.fields.code)