# CustomerSmsMarketingConsentError - admin-graphql - OBJECT Version: 2024-10 ## Description An error that occurs during execution of an SMS marketing consent mutation. ### Access Scopes `read_customers` access scope. ## Fields * [code](/docs/api/admin-graphql/2024-10/enums/CustomerSmsMarketingConsentErrorCode): CustomerSmsMarketingConsentErrorCode - The error code. * [field](/docs/api/admin-graphql/2024-10/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/admin-graphql/2024-10/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [customerSmsMarketingConsentUpdate](/docs/api/admin-graphql/2024-10/mutations/customerSmsMarketingConsentUpdate) Update a customer's SMS marketing consent information. ## Related Unions ## Examples