Getting 401 error while using client id and client secret in servicenow authentication

reddyvenugo
Tera Contributor

Hi Team,

Please help me how to fix this issue when we get 401 unauthorized error when we use client id and client secret in servicenow integration.

2 ACCEPTED SOLUTIONS

Nishant8
Tera Sage

Hello @reddyvenugo, Could you please go thru the below thread and verify whether it solves the problem? If not, please do revert, will help you.

https://www.servicenow.com/community/workflow-data-fabric-forum/postman-to-servicenow-using-oauth-2-... 

 

Regards,

Nishant

View solution in original post

AnilNemmikanti
Tera Expert

Hi @reddyvenugo ,

I believe we need to use token, which we will get using the Client ID and secret.

 

View solution in original post

3 REPLIES 3

Nishant8
Tera Sage

Hello @reddyvenugo, Could you please go thru the below thread and verify whether it solves the problem? If not, please do revert, will help you.

https://www.servicenow.com/community/workflow-data-fabric-forum/postman-to-servicenow-using-oauth-2-... 

 

Regards,

Nishant

AnilNemmikanti
Tera Expert

Hi @reddyvenugo ,

I believe we need to use token, which we will get using the Client ID and secret.

 

moumitakart
Tera Contributor

Hi @reddyvenugo ,

Please confirm the Client secret value once because this HTTP 401 unauthorized error will come only for client id and client secret value so please recheck once the id and value and with that URL.