Question

Citi
US
Last activity: 6 Aug 2025 9:24 EDT
401 Unauthorized Error
Hi,
I have a GET api that is part of a component and works in PEGA but when I try to test in Postman/SoapUI I get an 401 Unauthorized error.
I have set the service package authentication type to OAuth2, created a Oauth2 client registration, and configured a token profile. The service package and client registration have the same access group.
I am able to generate a JWT in Pega using an activity and I have tested the token in jwt.io which confirms it's a valid token.
I also saw a post that recommended adding Sysadm4 role to the access group, but my group already has that role.
My team's application uses SSO and LDAP which I think may be causing the issue.
Does anyone have any tips/advice? Thank you
I used this guide: https://support.pega.com/discussion/create-oauth-20-access-token-call-pega-api?