This issue occurs when an external integration, such as MuleSoft, calls the Salesforce Loyalty Management member-enrollment API and receives an unexpected-error APIFault instead of a successful enrollment response.
Typical fault examples include:
exceptionCode=UNKNOWN_EXCEPTION exceptionMessage=An unexpected error occurredCustomers commonly report:
The issue can occur when:
Because the failure often occurs during downstream enrollment processing rather than request validation, the API may return a generic UNKNOWN_EXCEPTION fault instead of a field-specific error.
Work through the following causes in order. Because the APIFault is generic, verify each condition before proceeding to the next one.
Retry the enrollment request.
If the fault references watchlist processing, AMP evaluation, or Loyalty realtime processing:
Retry the enrollment request.
In some cases, the failure occurs while the Loyalty realtime service retrieves related promotion data for the program.
Review the fault details for references to a realtime Loyalty endpoint similar to:
/services/data/vXX.0/connect/realtime/loyalty/programs/<ProgramName>
Transient cache or retrieval failures may succeed on a subsequent retry.
Retry the enrollment request.
exceptionCode=UNKNOWN_EXCEPTIONexceptionMessage=An unexpected error occurred005387403

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.