Grant Thompson (grant@VA)
Favor TechConsulting LLC
Grant Thompson
Favor TechConsulting LLC
grant@VA Member since 2019 6 posts
Favor TechConsulting LLC
Posted: June 23, 2021
Last activity: July 1, 2021
Posted: 23 Jun 2021 17:54 EDT
Last activity: 1 Jul 2021 18:32 EDT

Getting 403 Forbidden when trying to run activity from user portal

In the user portal, as a non-admin user, I'm getting this error when trying to run an activity with JavaScript:

var urlString = new SafeURL('@baseclass.ShowLogoffTimerRTS');, null);

The activity has the "Require authentication to run" checkbox unchecked and the "Allow direct invocation from the client or a service" is checked.

I noted that this is only happing for a non-admin user, because I can run this script successfully using my admin access group.

Thanks in advance to anyone who spends time on this.


***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.5.2 Low-Code App Development System Architect