# CustomerSmsMarketingConsentError - admin - OBJECT
Version: 2025-01

## Description
An error that occurs during execution of an SMS marketing consent mutation.

### Access Scopes
`read_customers` access scope.


## Fields
* [code](/docs/api/admin/2025-01/enums/CustomerSmsMarketingConsentErrorCode): CustomerSmsMarketingConsentErrorCode - The error code.
* [field](/docs/api/admin/2025-01/scalars/String): String - The path to the input field that caused the error.
* [message](/docs/api/admin/2025-01/scalars/String): String! - The error message.

## Connections



## Related queries

## Related mutations
* [customerSmsMarketingConsentUpdate](/docs/api/admin/2025-01/mutations/customerSmsMarketingConsentUpdate) Update a customer's SMS marketing consent information.

## Related Unions

## Examples