[SalesForce] Lightning component failing for users of specific profiles

I have faced this issue for the first time ever. I have a custom button on clicking of which a lightning component gets open. It is working fine for system admin + user of specific profiles.

But for users of certain profile, clicking on the component throws the attached screen. The error which comes up is as follows :

This page has an error. You might just need to refresh it. First, would you give us some details? (We're reporting this as error ID: )

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.
An internal server error has occurred
Error ID: 2094392832-34943 (-159444901)
quickActionHandlerHelper.js failed to create component – forceChatter:lightningComponent

Please help me to get this issue resolved, this is a show stopper for my application.

enter image description here

Best Answer

I faced this issue today and the reason was that the controller of my component was not compiling. I had change a definition of a method that the controller was consuming, which made the controller not valid.

So I would suggest to compile all your classes when you have such issue to see if there is any compilation issue in your Org.

Related Topic