Question

US
Last activity: 4 Jul 2024 1:20 EDT
401 Unauthorized Error in Pega Service REST API
I am facing a 401 Unauthorized error when configuring a Service REST API in my Pega Trial environment. I have set up OAuth 2.0 with client credentials, created a service package with the correct authentication, and configured a GET method in the Service REST rule using an activity that fetches case data. Despite receiving a valid OAuth token, the GET request to fetch case data returns a 401 Unauthorized error. I have ensured that all rulesets and access groups are correctly configured. Can anyone provide insights on additional configurations or steps needed to authorize and process the GET request successfully?