
The above error occurs on clicking the “Email Payment Notification” button in the Payment file administration page.
Here the error is due to insufficient permission.
Identify the error and from which script the error is being encountered. For this Navigate to Customization > Scripting > Script Execution Log.
Check the error and from which script the error is being encountered
In the corresponding script deployment, set the field EXECUTE AS ROLE to Admin.
So that it will not experience any permission issues thereafter.