LightningErrorEventLog

Lightning Error events represent errors that occurred during user interactions with Lightning Experience and the Salesforce mobile app. This object is available in API version 64.0 and later.

This object stores event data that's queryable from platform APIs. For event data stored in event log files, see EventLogFile.

Note

Supported Calls

describeSObjects(), query()

Special Access Rules

To access this object, you must have the View Event Log Object Data user permission.

Fields

Field Details
AppName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the application that the user accessed.
BrowserName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the browser that the user accessed.
Example
Chrome, Safari
BrowserVersion
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The version of the browser that the user accessed in major.minor version format. Some browsers don’t provide a minor version.
ClientGeolocation
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The geolocation of the client in the form of <Country>/<State|Province>.
Example
United States/California
ClientIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The API client ID.
ClientIp
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The IP address of the client that’s using Salesforce services. A Salesforce internal IP (such as a login from AppExchange) is shown as “Salesforce.com IP”.
ComponentName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The internal name of the standard component that generated the error. The Salesforce developer assigned the name when the standard component was created.
ConnectionType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The type of connection.
DeviceIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The unique identifier used to identify a device when tracking events. DEVICE_ID is a generated value that’s created when the mobile app is initially run after installation.
DeviceModel
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the device model.
Example
iPad, iPhone
DevicePlatform
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The type of application experience in name:experience:form format.
DeviceSessionIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The unique identifier of the user’s session based on page load time. If the user reloads a page, it starts a new session.
ErrorMessage
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The error message generated.
LoginKey
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The string that ties together all events in a user’s login session. It starts with a login event and ends with either a logout event or the user session expiring.
MobileSdkAppType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The mobile application type.
MobileSdkVersion
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Mobile SDK version number.
OperatingSystemName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The operating system name.
Example
Android, iOS, OSX, Windows
OperatingSystemVersion
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The operating system version.
PageAppName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The internal name of the application that the user accessed from the App Launcher.
PageContext
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Context of the page where the event occurred.
PageObjectIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Unique entity ID of event.
PageObjectType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The entity type of event
PageStartTime
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Time when page was initially loaded
PageUrl
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Relative URL of the top-level Lightning Experience or Salesforce mobile app page that the user opened. The page can contain one or more Lightning components.
PreviousPageUrl
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The relative URL of the previous Lightning Experience or Salesforce mobile app page that the user opened
RequestIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The unique ID of a single transaction. A transaction can contain one or more events. Each event in a given transaction has the same REQUEST_ID.
SdkAppVersion
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The mobile SDK application version number.
SessionKey
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The user’s unique session ID. You can use this value to identify all events in Lightning Experience within a session. When a user logs out and logs in again, a new session is started.
StackTrace
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The stack trace contains the location in the code where the error occurred along with the calling frames that led to the error.
Timestamp
Type
dateTime
Properties
Filter, Nillable, Sort
Example
20130715233322.670
UiEventIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
ID of the Lightning event type.
UiEventSequenceNumber
Type
double
Properties
Filter, Nillable, Sort
Description
The sequence number of current event since start of session.
UiEventSource
Type
string
Properties
Filter, Group, Nillable, Sort
Examples
Here are some examples of error flags returned in this field.
  • AuraError
  • Error
  • InvalidStateError
  • RangeError
  • ReferenceError
  • SecurityError
  • SyntaxError
  • TypeError
  • unknown
UiEventTimestamp
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The time at which this event occurred, measured in milliseconds.
UiEventType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The type of error event.
UserAgent
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The numeric code for the type of client used to make the request (for example, browser, application, or API) as a string.
UserIdentifier
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The 15-character ID of the user accessing Salesforce services through the UI or API.
UserType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The category of user license of the user accessing Salesforce services through the UI or API.