Loading
Prepare for Email to Become the Default Login ExperienceRead More
Set Up and Maintain Your Salesforce Organization
Errors in Lightning Experience

Errors in Lightning Experience

Errors, while unfortunate and hopefully uncommon, are a normal part of using Salesforce, or any software system. Here’s an explanation of the various types of errors that you can encounter, and various options for handling them.

Required Editions

Available in: Lightning Experience

First, there are “expected” errors, such as a validation error for a form field, or a feature configuration that isn’t possible. When you encounter these kinds of errors, they’re usually accompanied by explanations in the user interface. The explanation tells you what’s wrong, and often how to fix it.

As a Salesforce admin, when you run into these errors, if the error message doesn’t provide enough information, consult Salesforce Help.

Find Relevant Documentation in Salesforce Help

Salesforce Help links Lightning Experience Help Panel

You can access Salesforce Help directly from the Lightning Experience header (1). The "Help for this Page" option (2) is available in both Lightning Experience and Salesforce Classic.

If you’re an end user, we encourage you to try Salesforce Help. But don’t hesitate to reach out to your Salesforce admin if the answers aren’t easy to find.

Unexpected Errors

The second major type of error is unexpected, when Salesforce runs into a problem it can’t provide guidance for. These errors are generally the result of programming errors, either due to edge cases previously not anticipated, or errors in custom apps your organization has created.

Lightning Experience presents these errors in two different ways, depending on how you configure your org. Error windows interrupt your work for all errors, while the Error Console interrupts you only for fatal errors.

  • View Errors in Error Windows
    Before Spring ’26, and by default, Lightning Experience shows runtime errors in an error window.
  • View Errors in the Error Console
    When enabled, the Error Console captures and shows component and page errors without interrupting your work in Salesforce. The console collects non-fatal errors so you can see them when it’s convenient for you, and they don’t require interaction. Fatal errors still show in error windows that you must dismiss before continuing. The Error Console also collects fatal errors for later inspection.
  • Enable the Error Console in Setup
    Enable or disable the Error Console for your users. The console collects warnings and non-fatal errors so you can see them when it’s convenient, instead of being an interruption. The Error Console setting applies to all users of your org.
 
Loading
Salesforce Help | Article