---
schema_version: "1"
id: 483fd5962e9a38ba9caa7b549e278f535e039ea23cfb055a91f058054bda6e7a
title: LightningErrorEventLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_lightningerroreventlog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_lightningerroreventlog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 45bbc4f8fc2cb772277e1790ec9debbd7a0c66fe085eaff045eaf971aa01bc26
description: 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.
---
# 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.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

This object stores event data that's queryable from platform APIs. For event data stored in event log files, see [EventLogFile](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_eventlogfile.htm).

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



 |