Hi Guys,
I created a webApi and tested internally with the below code. I am getting Forbidden error,
PFB the code
a!httpQuery( url:"https://........../suite/webapi/testRunStatusForId", //I am working in a bank network method:"GET", queryParameters:a!httpQueryParameter( name:"id", value:261 ), basicAuthenticationCredentials:a!httpAuthenticationBasic( userName:a!scsField( externalSystemKey:"citestwebapi", fieldKey:"username" ), password:a!scsField( externalSystemKey:"citestwebapi", fieldKey:"password" ), preemptive:true ))
Test Output
Time
Dictionary
[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:HTTP error connecting to cip-dit1.bankofamerica.com/.../testRunStatusForId 403 Forbidden,detail:No details available]]
But it is working fine inside the created webApi internal test build. Confused !!!
Kindly help me out guys
Discussion posts and replies are publicly visible
Hi Alok,
Thanks for the workarounds. The service is using "TLS 1.0, AES with 128 bit encryption (High); RSA with 2048 bit exchange" connection and may be some firewall settings since bank network(I am not sure about it).
Also I tried to clear cache and checked the debugs but nothing helped me.
My confusion is while testing internally , it is giving the expected output.
But with the same environment and after providing admin access to the webApi , when I try to test to it through expression rule , it is giving me forbidden error.
Kindly help me out...