API Authentication

GSM
Kilo Contributor

Hi, 

I have created Basic Auth Credentials inside testing, however in post man i am getting an 401 unauthorised 

I have also enabled table api in acl 

basic-auth

 

postman

 

 

table-api

 

 

2 REPLIES 2

Community Alums
Not applicable

Hi, 

The username/password combo that you need to use for the auth is a user account in ServiceNow. 

If you create a user with the user id somebody, then it will work. 

Mike

Sulabh Garg
Mega Sage
Mega Sage

Hello 

Create a service account, username and password on sys_user table and then use same credentials in Basic Auth and then try again. It should work.

 

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

Regards

Sulabh Garg

Please Mark Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg