403 Forbidden while running activity from JavaScript
I am using the below async code to run an activity. It is working fine from the dev portal, but when i am invoking it from user portal it is showing 403 forbidden error in the console.
Is there any grant we need to apply for the user access or different syntax should be used?
pega.util.Connect.asyncRequest("POST", oSafeURL.toURL())
I am using Pega 8.6.
***Edited by Moderator Rupashree to add Capability tags***