hi, Can some one let me know why this error occur in Pega. The same connect rest rule works in Dev and QA, PROD but not in UAT environment .Any thoughts ? We are on Pega infinity 24.1.1
Could you try re-saving the auth profile you are using for the Connect REST rule? This issue can happen during encryption/decryption. Also, please post the error stack trace it would be helpful for troubleshooting.
Hi @RashmithaM
This is one classic error message which most of us face with Authentication profile instances. This usually occurs when you package Authentication profile instances built in one environment and deploy them to higher environments.
As @RanjithK8179 mentioned, to mitigate this error, you have to re-save the Authentication profile instance in the environment where you are facing this error with appropriate information and you should be good.
To avoid this situation, you can maintain environment specific Authentication profile instances backed by Application Settings so that you need not move the instances into various environments during deployment.
Hope this helps
Regards
JC
As its happening in only UAT, environment specific - it is definitely a config issue as JC mentioned. Typically the client ID / secret is not updated in UAT if you are using OAuth. Any more details on the auth profile configurations can help narrow down the root cause. are you using keystores?
Thank you all for the responses. But , the person who has created this clientID and client secret is no more with us and we did not get those details passed to us. Is there any other way we could get details other than updating it to new one.
We tried resaving it but that still gave us the same issue. It is because we moved Authentication profile from one environment to other
Unfortunately, I dont think there is any other way. You must enter the client ID and secret again in the Auth profile to get it to work.
No, we need the service owner to share the newly updated valid client id and secret.