Troubleshooting Salesforce Lightning component errors
Use the steps below to troubleshoot Salesforce Lightning component errors in Nintex Apps.
Issue
The following errors may appear in the browser console or in the Salesforce Developer Console:
-
There was an error rendering a Nintex Apps Page component for page " + pageParam + "\n" + err
-
Could not find an action with name '" + actionName + "' on the Nintex Apps Lightning Component. Action could not be performed.
These errors relate to the following Nintex Apps for Salesforce Lightning components:
-
Nintex Apps page
-
Nintex Apps assignment
Cause
This error occurs when a Nintex Apps page fails to load during initialization within a Salesforce Lightning component. Possible causes include:
-
Invalid page configuration.
-
Page is not accessible to users.
-
Page does not exist.
-
-
Runtime initialization error.
-
JavaScript errors during page load.
-
Missing dependencies or component packs.
-
-
Network or authentication problems.
-
Session timeout.
-
Cross -Origin Resource Sharing errors.
-
Network-related failures.
-
-
Environment or org issues.
-
Content Security Policy that blocks resources.
-
Incorrect Lightning component configuration.
-
This error occurs when the Nintex Apps Lightning component tries to perform an action that isn’t available in the currently installed version of Nintex Apps, usually due to a compatibility issue.
Resolution
-
Verify page configuration.
-
Ensure the page name or ID is correct.
-
Verify the user has permission to access the page.
-
Ensure the page is published.
-
-
Check Lightning component setup.
-
Verify component attributes are correctly configured.
-
Review page assignment rules.
-
Verify correct Lightning component placement.
-
-
Review console errors.
-
Check for additional JavaScript errors.
-
Check the Network tab for failed requests.
-
Verify authentication status.
-
-
Update Nintex Apps for Salesforce to the latest supported version.
-
Ensure the Lightning component is compatible with the installed Nintex Apps for Salesforce version.