Oauth authentication for REST services

Hi All,

I am implementing REST services with Oauth authentication as described in below link.

https://community.pega.com/knowledgebase/articles/data-integration/accessing-pega-api-using-oauth-20

Created OAuth 2.0 Client Registration and Configured with client credentials(Operator ID).

Now when I call the auth token service as mentioned in article below exception.

Can you provide more details by attaching pega logs?

Thanks for reply. Issue solved now. I was not saving the OAuth 2.0 Client Registration instance after generating the token.