Skip to content

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.

  1. 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.
  2. 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.

  3. Select a log by its Error Log Name, a running number.

Under Information, an entry shows:

FieldWhat it tells you
Exception MessageWhat went wrong, in the words of Salesforce or CAB. Start here.
Exception Type, Class Name, Method Name, Line Number, Stack TraceWhere in CAB the error happened. The support team needs these.
OwnerThe user under whom the failed work ran.
SOQL Statements Used, Query Rows Used, DML Statements Used, CPU Time Used, Heap SizeHow much of the Salesforce governor limits the work had used when it failed.

System Information shows when the log was created and by whom.

  1. Search the troubleshooting pages for the Exception Message or the message CAB showed. Most of them name the cause and the fix. See Troubleshooting.

  2. Fix the cause, for example a filter, a field mapping or a missing permission, and start the run or action again.

  3. 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.

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.

After you open a log you own, its Something went wrong card no longer appears.