Unable to generate access token

Hi,

I’m trying to generate client ID and secret using my PAT. But it is throwing below error.
could someone help with some solution to fix this
API call :
POST=> https://tenant.api.identitynow.com/oauth/token?grant_type=client_credentials&client_id={clientid}&client_secret={clientsecret}

Try sending the details in body as shown below

image

image

yes, I tried that as well, but no luck.

I verified the scope as well and it is scope : ALL

image

That is very strange indeed!!

Did you try creating new PAT and test again?

yes, I have tried that generating a new client ID and secret, But no luck

The screenshot looks fine. Please verify you specified the correct credentials.

Are you still facing an issue with this?

Hi @chandramohans27,

Please verify the following:

  1. Correct request endpoint with parameters and method type

Additionally, check if the variables in the environment are reflecting correctly under the ‘Current value’ column. If not, select the Reset all option.

  1. Check if the PAT credentials match correctly and if they exist for the given identity with the correct scopes.
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.