Oauth 2.0 - Access Token

AmanPratapS7233
Tera Contributor

Hi All,

 

I have created a record in Application Registry 3 months back and I have,

 

Client ID

Client Secret

Token URL - https://<company>test.service-now.com/oauth_token.do

I want to get the access token and I am using Postman but, I am getting this error although it was working in the past.


Error:

{
    "error_description": "Received client_credentials grant_type request however integration user is not configured for OAuth:1b7ae3f52b977218deb7f865ce91bf8b",
    "error": "unauthorized_client"
}
3 REPLIES 3

Ankur Bawiskar
Tera Patron

@AmanPratapS7233 

so what got changed?

you must be using some User credentials for getting the token, is that user active and not locked out?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Are these details not enough for getting the access token ?

 

@AmanPratapS7233 

what's the grant type you are using?

how are you testing? from postman?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader