Read error logs
After these steps, you know why something in CAB failed and whether you can fix it yourself.
Before you begin
- Permission
- Campaign Audience Builder: User permission set group or one that contains it. See Permission sets.
When a run, a campaign add, a measurement or another job fails, CAB writes what went wrong to a CAB Error Log record. Troubleshooting pages and notifications that say “open the error log” mean this record.
Open an error log
Section titled “Open an error log”-
Open the log from where CAB reported the failure:
- The card Something went wrong at the top of the CAB app: select View Log. CAB shows this card to the owner of the log, up to three at a time.
- The Salesforce notification Audience Building Error under the bell icon opens the log of the failed run. See Notifications.
- A link in the app, such as Rows may be missing on a data extension add.
-
To see every log of your org instead, open the CAB Error Logs tab in the navigation bar of the Campaign Audience Builder app. From another app, search for CAB Error Logs in the App Launcher. The list view All shows them.
-
Select a log by its Error Log Name, a running number.
Read an entry
Section titled “Read an entry”Under Information, an entry shows:
| Field | What it tells you |
|---|---|
| Exception Message | What went wrong, in the words of Salesforce or CAB. Start here. |
| Exception Type, Class Name, Method Name, Line Number, Stack Trace | Where in CAB the error happened. The support team needs these. |
| Owner | The user under whom the failed work ran. |
| SOQL Statements Used, Query Rows Used, DML Statements Used, CPU Time Used, Heap Size | How much of the Salesforce governor limits the work had used when it failed. |
System Information shows when the log was created and by whom.
Decide what to do
Section titled “Decide what to do”-
Search the troubleshooting pages for the Exception Message or the message CAB showed. Most of them name the cause and the fix. See Troubleshooting.
-
Fix the cause, for example a filter, a field mapping or a missing permission, and start the run or action again.
-
If no page fits, contact tech support and name the Error Log Name. To let the support team look at the log in your org, see Grant login access to support.
Who sees error logs
Section titled “Who sees error logs”Every user with a CAB permission set group can open, edit and delete all error logs of the org, not only their own. The Something went wrong card goes only to the owner of a log.
Check the result
Section titled “Check the result”After you open a log you own, its Something went wrong card no longer appears.

