WebApi returning (401) Unauthorized error

Hi All,

I have created a WebApi in Appin with Post which is getting invoked by another non-appian application. But the other application is getting 

The remote server returned an error: (401) Unauthorized error. I tried to test using powershell but getting invalid username\password error there.

Please find the request body captured in the log below. I have removed the request body due to company security policy.

{
"Connection": "Keep-Alive",
"Content-Length": "633",
"Content-Type": "application/json",
"Authorization": "Basic d3N1c2VyOndzcGFzc3dvcmQx",
"Host": "rmsstgintweb1",
"User-Agent": "Mozilla/5.0 (Windows NT; Windows NT 6.1; en-US) WindowsPowerShell/5.0.10586.117",
"Body": ""
}

Below are the things I checked.

1. I have created third party credential in Admin console and the other system is using the same credential while invoking appin webapi

2. I have created a system admin user account for the webservice user cedential

3. Checked webapi and process model security. They looked fine.

Please let me know what I am missing? Do I need to install any base64 plugin for this? Any help\pointer is appreciated. Thanks in advance

 

 

  Discussion posts and replies are publicly visible