function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sree SalesforceSree Salesforce 

lightning Issue: Sometimes i am getting Internal Server Error. What situations we are getting this .Please find screen

User-added image
SandhyaSandhya (Salesforce Developers) 

When an exception is thrown in the related ApexController of the Lightning component, we always get "Internal Server Error" error message. So I can suggest surrounding your logic in Apex controller with try {} catch() and verify there are no errors in the server-side logic.

Also, refer below link which explains in detail about this error.
Hope this helps you!

If this helps you, please mark it as solved.

Thanks and Regards