External system - outbound REST message error : 403 username/password combo

Prashanth Ranga
Tera Contributor

Hi 

We are getting " Method failed: (/service-now/workitems) with code: 403 - Forbidden username/password combo"  error when we try to connect to external system 

 

We are currently using a bearer token to connect to the third-party system. There is no username and password–based authentication involved.

 

Is the bearer token alone sufficient for establishing the connection to the third-party system?

We tested the same token using Postman and were able to connect successfully.

 

Could you please advise if there are any additional configurations or parameters required when initiating the connection from ServiceNow?

 

screenshot attached 

 

Thanks In Advance

2 REPLIES 2

Swapna Abburi
Mega Sage
Mega Sage

Hi @Prashanth Ranga 

Bearer token should be fine. If it is working from postman, it should work from ServiceNow as well. are you passing bearer token as an "Authorization" header to the Rest message?

Name: Authorization

Value: Bearer <token>

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Prashanth Ranga 

are you using OAuth to connect to 3rd party?

what's the difference in the way how postman and ServiceNow are consuming the endpoints?

did you notice any difference?

share some screenshots

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