dw.customer.consent
Class ShopperConsentErrorCodes
dw.customer.consent.ShopperConsentErrorCodes
Error codes for ShopperConsentException.
These error codes indicate the reason why a shopper consent operation failed.
Constants
CONTACT_POINT_VALUE_TOO_LONG
:
String = "CONTACT_POINT_VALUE_TOO_LONG"
Indicates that the provided contact point value exceeds the maximum allowed length.
CUSTOMER_NOT_AUTHENTICATED
:
String = "CUSTOMER_NOT_AUTHENTICATED"
Indicates that the customer is not authenticated.
FEATURE_DISABLED
:
String = "FEATURE_DISABLED"
Indicates that the Marketing Consent feature is not enabled.
INTERNAL_ERROR
:
String = "INTERNAL_ERROR"
Indicates that an internal error occurred.
INVALID_CHANNEL
:
String = "INVALID_CHANNEL"
Indicates that an unrecognized channel value was provided.
INVALID_CONSENT_STATUS
:
String = "INVALID_CONSENT_STATUS"
Indicates that an unrecognized consent status value was provided.
INVALID_CONTACT_POINT_VALUE
:
String = "INVALID_CONTACT_POINT_VALUE"
Indicates that the provided contact point value is null, empty, or blank.
RETRIEVAL_ERROR
:
String = "RETRIEVAL_ERROR"
Indicates that an error occurred while retrieving consent subscriptions.
SUBSCRIPTION_ID_TOO_LONG
:
String = "SUBSCRIPTION_ID_TOO_LONG"
Indicates that the provided subscription ID exceeds the maximum allowed length.
UPDATE_ERROR
:
String = "UPDATE_ERROR"
Indicates that an error occurred while updating consent subscriptions.
Properties
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
© Copyright 2000-2026, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.