Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

From Postman it is unable to call scripted REST API due to auth issue

KausikSharma
Tera Contributor

Hi all, 

I have create a demo Scripted REST api named as Demo, I can able to access the SNOW instance(consider user id:"AUSXX") and can able to develop the Scripted REST but with the same user id password I m not able access the api from any external tool like postman. can you tell me what would be the reason?

KausikSharma_0-1701266530614.png

KausikSharma_1-1701266565300.png

KausikSharma_2-1701266590785.png

 

5 REPLIES 5

Prince Arora
Tera Sage

@KausikSharma 

 

The username & password which you have provided there, are you able to login to the ServiceNow instance by manually entering the creds?

@Prince Arora 
yes,,and admin role is attached with the id.

 

@KausikSharma 

 

Have you created this user manually or it has been created from some integration like (AD integration/workday) if So? please create a user manually and try again

It is manually created with 'admin' role