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.

Outbound Integration not working

sainath3
Giga Guru

Hi Everyone,

 

I am working on Outbound Integration.

Using OAuth2.0

 

For Grant_type Password: I clicked on Get OAuth Token --> I have entered correct UserName & Password, got the Access token & Refresh Token.

when am clicking on test: Am receiving error "Invalid username/password combo".

 

Can anyone Help me.

10 REPLIES 10

Muhammad Salar
Giga Sage

Hello,
add HTTP Request
Authorization    Bearer access_token_value then try

Hi Muhammad Salar,

I have added 

sainath3_0-1749708463099.png

 

BR Script:

sainath3_1-1749708509934.png

Error:

sainath3_3-1749708968616.png

 

 

 

 

DeepanK49006095
Tera Contributor

Hi @sainath3 ,
try this

r.setRequestHeader("access_token", access_token); 

 

Hi Deepank,

Same result:

sainath3_0-1749710359290.png

Error:

sainath3_1-1749710392099.png