Skip to content

Troubleshoot audiences and runs

Find the message or symptom, see why it happens, and fix it.

How audiences run is explained in How audiences work. Limits are in Limits and requirements.

Cause

CAB offers only fields that Salesforce allows in query filters. Long text areas and rich text areas aren’t among them, so you can’t filter on fields such as a long Description.

Fix

Filter on another field, for example a short text or picklist field that holds the same information. See Limits and requirements.

This audience is already running. Wait for the current run to finish before starting another.

Section titled “This audience is already running. Wait for the current run to finish before starting another.”

Cause

A run of this audience hasn’t finished yet, for example one that continues in the background.

Fix

Wait until it finishes, then run the audience again. See Work with audience results.

Your Campaign Audience Builder permissions were still being updated, for example after an upgrade. A scheduled audience runs again at the next scheduler pass. Otherwise, run the audience again in a few minutes.

Section titled “Your Campaign Audience Builder permissions were still being updated, for example after an upgrade. A scheduled audience runs again at the next scheduler pass. Otherwise, run the audience again in a few minutes.”

Cause

Salesforce was still recalculating the CAB permission set groups, for example right after a package upgrade.

Fix

Run the audience again in a few minutes. A scheduled audience runs again at the next scheduler pass by itself.

The audience was not built: it could not be prepared for this run, and no cause was recorded. Run it again. If it fails a second time, a filter on this audience is misconfigured.

Section titled “The audience was not built: it could not be prepared for this run, and no cause was recorded. Run it again. If it fails a second time, a filter on this audience is misconfigured.”

Cause

The run failed before it read any records, without recording why. If it happens again, a filter of the audience is set up in a way the query can’t use.

Fix

Run the audience again. If it fails a second time, check the filters on the canvas, or let Diagnose an audience query show the query.

This run stopped without finishing and did not record an error. Campaign Audience Builder closed it after … hours without an active job.

Section titled “This run stopped without finishing and did not record an error. Campaign Audience Builder closed it after … hours without an active job.”

Cause

The run had no active background job left and never finished, for example because Salesforce stopped the job. CAB closes such runs after a set time.

Fix

Run the audience again. The time is in Limits and requirements.

This list is too long for one filter. Remove some values.

Section titled “This list is too long for one filter. Remove some values.”

Cause

The values of one condition are longer in total than one filter allows.

Fix

Remove values, or split them into two conditions joined with OR. See Limits and requirements.

The custom filter "…" failed while running: …

Section titled “The custom filter "…" failed while running: …”

Cause

The Apex class behind the custom filter threw an error while the audience ran. The message names the filter and the error.

Fix

Ask the developer of the filter to fix the class. See Custom filters.

Deduplication of "…" failed after confirming more than … duplicate …. The run published no results.

Section titled “Deduplication of "…" failed after confirming more than … duplicate …. The run published no results.”

Cause

The audience has more duplicates than one deduplication run may handle, so the run published no results.

Fix

Narrow the audience, or check the deduplication rules. See Remove duplicate records and Limits and requirements.

Audience sequences cannot run because audience snapshots are turned off in this org. Contact your administrator.

Section titled “Audience sequences cannot run because audience snapshots are turned off in this org. Contact your administrator.”

Cause

Sequences need stored audience snapshots, and they’re turned off in your org.

Fix

Ask your administrator to turn snapshots on. See CAB Settings.

The sequence run failed. Open the error log for details, correct the issue, and run the sequence again.

Section titled “The sequence run failed. Open the error log for details, correct the issue, and run the sequence again.”

Cause

One of the sequence’s steps failed. The error log names the step and the cause.

Fix

Open the error log from the notification, fix the step’s audience, and run the sequence again. See Notifications and Build audience sequences.