Error¶
You can view front-end errors emitted by browsers while users are using the application, including error types, error messages, and more.
In Error Explorer, you can:
-
View all error types and their related error details in one place;
-
Restore obfuscated code through Sourcemap conversion, making it easier to locate the source code during troubleshooting and helping users resolve issues faster.
Explorer List¶
All Errors¶
In Error Explorer, you can quickly view the page URL, code error type, error message, and more during user visits.
-
Error message Load failed: an error with no
response; the SDK adds Load failed by default; -
Error message Network request failed: the
responsereturned an error.
Pattern¶
If you need to view errors that occur frequently, you can go to the TrueWatch workspace and select the Pattern list under RUM > Explorer > Error.
Pattern analyzes similarity across trace data for all errors based on pattern fields. It fixes the current period according to the time range selected in the upper right, retrieves 10,000 records within that period for pattern analysis, aggregates error traces with high similarity, and extracts and counts common Pattern clusters, helping you quickly identify anomalous traces and locate issues.
By default, aggregation is based on the error_message field. You can enter custom pattern fields, up to 3.
-
In the Pattern list, click a cluster to open the Pattern cluster details and view associated error records; click an error record to open the corresponding Error details page;
-
On the Pattern page, click the sort icon & to sort by document count in ascending/descending order (descending by default).
Associated Error Display Columns¶
In the Associated Errors list in the Pattern cluster details, click Display Columns to search for and add available fields, remove optional columns, adjust column order, or restore the default columns. For complete instructions, see Display Columns in Pattern Details.
By default, Time, Error Type, Page URL, and Error Message are displayed. The Time column is retained and fixed as the first column; other columns can be adjusted. The same field cannot be added more than once.
For example, after adding version and env, you can directly compare the application version and environment of each error record. Available fields depend on the fields actually available under the current application, workspace, and data permissions, and include custom fields that have been reported and comply with the display column rules. If a record lacks a selected field, “—” is displayed.
The Associated Errors list displays up to 50 records. The absence of records for a version does not mean that no errors occurred in that version, nor can it be used to determine that the errors have been fixed.
Details Page¶
Click the details page of the data you want to view in the list to view RUM error details, including error details, extended fields, associated traces, and more.
Source¶
In Source, you can view details of the current Error's Session / View / Action, and filter or copy the current Session ID / View ID / Action ID.
Error Distribution Chart¶
The error distribution chart aggregates errors with high similarity. Based on the time range selected in the Explorer, it automatically selects the corresponding time interval to display the error distribution trend, helping you visually view the times or time ranges where errors occur frequently and quickly locate error issues.
Error Details¶
In Error Details, you can view the specific content of the error.
Sourcemap Conversion¶
When an application is released to production, to prevent security issues such as code leaks, files are usually transformed, compressed, and otherwise processed during packaging. While these measures protect code security, they also cause the collected error stack information to be obfuscated, making it impossible to directly locate issues and causing inconvenience for subsequent bug troubleshooting.
TrueWatch provides Sourcemap for applications, which can restore obfuscated code, making it easier to locate the source code during troubleshooting and helping users resolve issues faster.
You can configure it through RUM Sourcemap Configuration or DataKit Collector Sourcemap Conversion. After configuration is complete, you can view the parsed code and the original code in Error Details.
Note: Currently, only Web applications support Sourcemap configuration in RUM.
Parsed Code Example¶
Example of parsed code after configuring Sourcemap conversion in RUM:
Original Code Example¶
Example of parsed code after configuring Sourcemap conversion using the DataKit Collector:
Note: If Sourcemap is configured in both RUM and the DataKit Collector, the parsed format configured in RUM is displayed.
Extended Fields¶
In the search bar, enter a field name or value to quickly search and locate;
After selecting field aliases, you can view them after the field names; select as needed.
On the trace details page, you can view the related field attributes of the current trace in Extended Fields:
| Field | Attribute |
|---|---|
| Filter by field value | Adds this field to the Explorer to view all data related to this field. You can filter and view the list of traces related to this field in Trace Explorer. |
| Reverse filter field value | Adds this field to the Explorer to view other data excluding this field. |
| Add to Display Columns | Adds this field to the Explorer list for viewing. |
| Copy | Copies this field to the clipboard. |
TOBY AI TruePilot Error Analysis¶
TrueWatch provides one-click error data analysis. It uses a large model to automatically extract key information from the data and combines online search engines and an operations knowledge base to quickly analyze possible causes of failures and provide preliminary solutions.
- Click a single record to expand its details page;
- Click “TOBY AI TruePilot Error Analysis” in the upper right corner;
- Start the anomaly analysis.







