I'm using postman and trying to create record in servicenow.. but I'm getting error as "user not authenticated"

Sathwik1
Tera Expert

I'm using postman and trying to create record in servicenow.. but I'm getting error as "user not authenticated"

For instance SSO was enabled.. i.e., Okta.. so what things I need to take care?

7 REPLIES 7

Sathwik1
Tera Expert
Can anyone please help me .

Pavankumar_1
Mega Patron

Hi,

For integration specific we need required rest_service role  to access ServiceNow.

check if you are user have this role or not if not add this role.

and on User form check the Web service access only then it will work for only REST calls.

refer below screenshot.

 

find_real_file.png

 

Hope you it helps you.

Please Mark ✅ Correct/helpful if applicable, Thanks!! 

 

Regards

Pavankumar

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Directly we had given the user who is having admin access..still we are getting authentication issue.. My question is, to login into service now we are having OKTA SSO.. is it causing any issue?

Hi,

yes that is the issue.

what is the authentication type that you are using on postman?

if it is a OAuth 2.0 then you need to provide all the authorization details correctly?

 

Thanks,

Pavankumar

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar