---
schema_version: "1"
id: 0ae2001228a279aaab4a09db6a501596a80b156a6aa69bcc4bd66eb683f535be
title: Failure Messages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_failure_messages.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_failure_messages.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f1308714b7428b3c68f5909960f22ee92ebe4d0825af3814ada710d5018ef232
description: "When creating context rules, you can create failure messages for the following entities: rule sets, context rules, and rule conditions."
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Failure Messages

When creating context rules, you can create failure messages for the following entities: rule sets, context rules, and rule conditions.

## Failure Messages for Rule Sets Assigned to Products and Promotions

Failure messages for rule sets assigned to a product or promotion display in the Disqualified subtab of Industries Cart. The message will be ignored if the same rule set is applied to a price list or price list entry.

**Setting a Failure Message for a Rule Set**

![Set a Failure Message in a ruleset's General Properties.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/failure_message_rule_set.png)

**Failure Message Appears in Industries Cart**

![A promotion on the Disqualified tab displays a Failure Message.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/failure_message.jpg)

## Failure Messages for Rule Sets Assigned to Pricing Adjustments

You can alert users when they enter invalid pricing adjustments by specifying a failure message in the rule set assigned to the pricing adjustment. When the user enters an invalid adjustment value or code, a toast message displays above the pricing adjustment dialog box.

![A Failure Message appears above the Adjustment dialog.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/pricing_adjustment_failure_message.jpg)

To enable the display of failure messages for pricing adjustments, set the **CPQ Toast Message Log Level** in the CPQ Configuration Setup custom settings to All. For more information on this custom setting, see [CPQ Configuration Settings Reference](https://help.salesforce.com/s/articleView?id=ind.comms_t_cpq_configuration_settings_reference_148927.htm&type=5&language=en_US). When changing a failure message for a pricing adjustment, you must clear the CPQPartition platform cache to ensure your changes display. For more information, see [Configuring the CPQ Platform Cache](https://help.salesforce.com/s/articleView?id=ind.comms_configuring_cpq_platform_cache.htm&type=5&language=en_US).

## Using Context Rule Message Service API

You can access failure messages for all entities using the Context Rule Message Service API. For more information, see [CME Common APIs](https://developer.salesforce.com/docs/industries/cme/references/epc?meta=summary).