Loading
Feature degradation | Gmail Email delivery failureRead More

Error occurs when viewing record in Lightning Experience

Publish Date: Sep 30, 2024
Description

When viewing the record in Lightning Experience, the user receives the error:

Unfortunately, there was a problem. Please try again. If the problem continues, get in touch with your administrator with the error ID shown here and any other related details. Error ID: xxxxxxxxxx-xxxxx (-1157396126)

One of the reasons a user would see this error is if the related list component in the Lightning page is referring to an object that is no longer available.

 

Resolution


Remove the corresponding object's related list component from the Lightning page.

  1. From Setup, enter Lightning App builder in the Quick Find box, then select Lightning App builder. 
  2. Click Edit beside the appropriate Lightning page.
  3. Look for the related list component that is throwing the error "This related list cannot be displayed because it is not in the current page layout" and remove it.


Note: A Salesforce admin can also navigate to the record in Lightning, click the gear icon, and select 'Edit Page'. The necessary adjustments can then be made to the record page.
 

Knowledge Article Number

000381866

 
Loading
Salesforce Help | Article