Skip to content

Error Management

The Error Monitor tab in the DQS application provides a dedicated interface for monitoring and resolving errors that occur during scan processing. It gives full visibility into batch failures, strategy errors, and platform issues — all in one place.

The Error Management Console uses a 3-zone layout:

  • Filters sidebar (left) — Filter errors by Error Type, Source Class, Error Message, time range (From/To), and IP address. A Breakdowns section groups errors by type, source, or other criteria, showing counts next to each category for quick triage.
  • Error log table (center) — Sortable table listing all errors with summary columns. Displays total error counts across three time windows: Last 24 Hours, Last 7 Days, and Expiring Soon. Click any row to view full details.
  • Actions panel (right) — Refresh the log, create a downloadable CSV export, delete selected entries, and configure the retention period.

Error Management Console showing filters on the left, error log table in the center, and actions panel on the right

Each error row in the table shows the following columns:

ColumnDescription
Error IDUnique identifier for the error log entry
TypeError category (e.g., DML_FAILED, QUERY_FAILED, FIELD_INSERT_FAILED, BATCH_EXECUTE_FAILED)
MessageShort error description (truncated — click the row to see the full message)
SourceThe Apex class that generated the error (e.g., DQS_ExportFileService, DQS_DynamicQueryBuilder01)
Event TimeTimestamp of when the error occurred

The top of the table shows aggregate counters — Total Errors, Last 24 Hours, Last 7 Days, and Expiring Soon — giving you an at-a-glance health overview.

Click any error row to open a detail modal with the full context:

  • Error ID and Type (highlighted in red for quick identification)
  • Source — the originating Apex class
  • uniqueIdentifier_01 — the related record or batch identifier
  • Insert Type — whether the operation was an insert, update, or other DML type
  • Event Time and First Event Time — timestamps for the error occurrence
  • Message — full error message including the Salesforce exception type (e.g., System.AsyncException, System.DmlException)
  • Stack Trace — complete Apex stack trace for debugging

Error detail modal showing error ID, type, source, timestamps, full message, and stack trace

SourceExamples
Batch ProcessingGovernor limit exceeded, query timeout
Dimension StrategyInvalid field access, null pointer in strategy logic
Platform EventsEvent publish failure
SchedulingCRON expression issues, permission errors

DQS uses DQS_Processing_Error__e platform events to surface errors in real time. When an error occurs during batch processing:

  1. The error is caught and logged
  2. A platform event is published
  3. The EMC receives the event and displays it

This replaces silent catch blocks with visible error reporting.

Error logs are automatically purged based on the configured retention period. The default retention is 7 days.

To change the retention period, use the Retention Configuration section in the Actions panel on the right side of the console. Enter the desired number of days in the Error Log Retention (days) field and click Save. Error logs older than the specified period will be automatically purged. Changes are deployed via the Metadata API and may take a moment to take effect.

Retention Configuration panel showing the Error Log Retention (days) field set to 6 days

  • Check the EMC regularly after setting up new scan definitions
  • Review errors after changing capability configurations
  • Use error patterns to identify systematic issues (e.g., field access permissions)
  • Use the Expiring Soon counter to review errors before they are automatically purged
  • Export error logs to CSV before they expire if you need to keep them for longer analysis
  • Contact support if platform errors persist across multiple scans