<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>authentication issue with web API</title><link>https://community.appian.com/discussions/f/integrations/18068/authentication-issue-with-web-api</link><description>Dear Team, 
 Hope you all are doing well and Happy NEw Year 2020 in advance. 
 I am new to web API objects in APPIAN and trying to develop one. Goal is to make data in one of my data store entity available to third party system outside APPIAN. 
 Here</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/79856?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 09:13:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d081dc6-41c6-4f7d-b79f-afc507db0749</guid><dc:creator>payal31</dc:creator><description>&lt;p&gt;Hi Vidhu,&lt;br /&gt;&lt;br /&gt;There are two way to authenticate API.&lt;br /&gt;&lt;br /&gt;1. Create service account, go to admin console and create a web key. You can use this API key in Header.&lt;/p&gt;
&lt;p&gt;2. You can provide basic user authentication (username and password). User should be either basic user or system admin.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As I can see, You have added user in Service Account group, therefore you are getting this &amp;#39;Authentication Error&amp;#39;. Can you please remove the user from Service Account group and give access it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/78351?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 12:30:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:356ac358-9b95-4f6d-8d59-94627c0b9eaf</guid><dc:creator>ramyap826</dc:creator><description>&lt;p&gt;Hi Robert,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a similar issue with Web API Basic Authentication. I followed below steps for my use case:&lt;/p&gt;
&lt;p&gt;1. Created an API&amp;nbsp; with a start process ,it&amp;#39;s an xml POST method. So a header with Content-Type application/xml exists.&lt;/p&gt;
&lt;p&gt;2. My third party system needs Basic authentication , so created an Appian user and added into Web API viewer groups .&lt;/p&gt;
&lt;p&gt;When i run the URL generated from Web API wit some body in Appian it works but when i run in POSTMAN with username and password and header content -type , it is giving 404- Not Found Error,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyone Please suggest what could be possible issues I&amp;#39;m doing here?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in Advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71423?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2020 14:15:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:acda4d12-1ce8-43a6-b7d5-588ce291e4a1</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Can you clarify how you are calling the Web API using your service account? Once you add the user to the service accounts group, you cannot authenticate using username / password via your API anymore - you must use the API key.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, once you add a user to the Service Accounts group, they shouldn&amp;#39;t be able to log into Appian any more using that account.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71400?ContentTypeID=1</link><pubDate>Sat, 11 Jan 2020 03:51:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:34ca939b-0bd8-4f25-a8ed-459d574ffd14</guid><dc:creator>chandhinir</dc:creator><description>&lt;p&gt;Please check the security for&amp;nbsp;web api and Datastore objects whether that user has proper access.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71392?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 19:06:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:59c003ff-ed47-4681-a283-45c50be806d4</guid><dc:creator>Vidhu</dc:creator><description>&lt;p&gt;Any other suggestions from anyone ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71374?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 13:43:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d85a629-73dd-4908-9143-93102cf0b93a</guid><dc:creator>Vidhu</dc:creator><description>&lt;p&gt;I tried that too, did not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71360?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 02:06:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b4690ce2-b31c-40f1-a2fe-ed786d889cab</guid><dc:creator>chandhinir</dc:creator><description>&lt;p&gt;Hi Vidhu,&lt;/p&gt;
&lt;p&gt;Can you make the service account user as system administrator instead of basic user and try?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71359?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 22:45:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7664c61c-6e4e-41b4-af92-32e841e70dc1</guid><dc:creator>Vidhu</dc:creator><description>&lt;p&gt;Thanks &lt;a href="/members/dastagirid0003"&gt;Dude&lt;/a&gt;and &lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt; for suggestions.&lt;/p&gt;
&lt;p&gt;I was finally able to get the data via SOAP UI. I now have a user which I have assigned to my API but as soon as I put that user in Service Accounts groups, I stop getting data and API starts to fail with Authentication failed error. Any suggestion how can I resolve this ? The user I have created is a Basic user which has access to webAPI hence it is working but I am able to login in my application using that user as well (which I dont want).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71233?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 13:47:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6359dff1-ecd9-4bac-9dbd-d203ec106c37</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;I actually don&amp;#39;t think creating a connected system / integration is necessary. This would only be necessary if you wanted to do a circular reference - essentially have Appian call itself for testing purposes.&lt;/p&gt;
&lt;p&gt;Since you mentioned that you plan on calling the Web API from an external system, I&amp;#39;d recommend testing it externally too since that will be a better test of how your Web API should be used. There are a bunch of external tools you can use that call rest APIs (for example, I like SOAP UI). You can set up a tool like that to point to your web API and provide the API key credentials. See the Web API documentation for the different methods of adding your credentials to the request: &lt;a href="https://docs.appian.com/suite/help/latest/Web_API_Authentication.html#using-api-keys"&gt;https://docs.appian.com/suite/help/latest/Web_API_Authentication.html#using-api-keys&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71228?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 04:36:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a77d969-56e0-4b98-bb38-800b092babac</guid><dc:creator>Dude</dc:creator><description>&lt;p&gt;&lt;a href="/members/robert.shankin"&gt;Robert Shankin&lt;/a&gt; I have mentioned both the ways of creation for the learner&amp;#39;s convenience. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71227?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 04:35:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cea3b1f3-877c-438d-8cef-a00a52a1c25b</guid><dc:creator>Dude</dc:creator><description>&lt;p&gt;&lt;a href="/members/vidhug"&gt;Vidhu&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Inside the integration designer, under Headers section click on Add Header link. Type&amp;nbsp;&lt;strong&gt;Appian-API-Key &lt;/strong&gt;as a name&lt;b&gt;&amp;nbsp;&lt;/b&gt;and paste the API key under value. For further details you can find in this link&amp;nbsp;&lt;a title="community" href="https://docs.appian.com/suite/help/19.4/Web_API_Authentication.html#api-key-authentication"&gt;community&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71223?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2020 21:14:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:861e0415-24e2-4aaa-8c6e-84b32782547b</guid><dc:creator>Vidhu</dc:creator><description>&lt;p&gt;Hi , Thanks for the response. I followed the steps, and request you to provide some additional guidance.&lt;/p&gt;
&lt;p&gt;Create one Service Account user&lt;/p&gt;
&lt;p&gt;Add the Service Account user to the Service Account group&lt;/p&gt;
&lt;p&gt;Go to the Admin console,&amp;nbsp;under API Keys create one API key and mention the Service Account User&lt;/p&gt;
&lt;p&gt;Once you create you will get the API key and save it first.&lt;/p&gt;
&lt;p&gt;Create Web API access group, add the Service Account user in that group&lt;/p&gt;
&lt;p&gt;Create Web API&lt;/p&gt;
&lt;p&gt;Add&amp;nbsp;security for the Web API by making &amp;nbsp;Web API access group as viewers&lt;/p&gt;
&lt;p&gt;Create a connected system with API key Authentication by providing header&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;Appian-API-Key&amp;nbsp;&lt;/span&gt;&lt;span&gt;or as mentioned in&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a title="community" href="https://docs.appian.com/suite/help/19.4/Web_API_Authentication.html#api-key-authentication"&gt;community&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[Vidhu] : Completed the steps mentioned above successfully&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Call the integration as a rule by passing the required parameters if any.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[Vidhu] : you please elaborate this one. Where in API I would enter/pass my API Key.??&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71063?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 18:41:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d562643-a4bd-422b-9d75-67d8f6082515</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;&lt;a href="/members/dastagirid0003"&gt;Dude&lt;/a&gt; A service account is recommended but not required.&amp;nbsp; Good to keep these in mind as typically, not that service accounts are available, there are benefits to using them in production.&lt;/p&gt;
&lt;p&gt;Also, while there are some use cases to connect to an Appian Web API from an Appian Integration; two things to consider:&lt;br /&gt;1) speaking personally - I&amp;#39;ve only encountered 1 use case of this that I believe is valid.&lt;br /&gt;2) for the general public the use case is going to be to access Appian from an external system.&amp;nbsp; for this reason, I would encourage the use of a 3rd party client for testing.&amp;nbsp; Calling Appian from Appian isn&amp;#39;t a strong validation of the expected behavior of request that originates from an external source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71050?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 12:53:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13e486a3-30a8-46be-8eef-10da67680640</guid><dc:creator>Dude</dc:creator><description>&lt;p&gt;Hi Vidhu,&lt;/p&gt;
&lt;p&gt;In order to use a Web API, follow the steps.&lt;/p&gt;
&lt;p&gt;Create one Service Account user&lt;/p&gt;
&lt;p&gt;Add the Service Account user to the Service Account group&lt;/p&gt;
&lt;p&gt;Go to the Admin console,&amp;nbsp;under API Keys create one API key and mention the Service Account User&lt;/p&gt;
&lt;p&gt;Once you create you will get the API key and save it first.&lt;/p&gt;
&lt;p&gt;Create Web API access group, add the Service Account user in that group&lt;/p&gt;
&lt;p&gt;Create Web API&lt;/p&gt;
&lt;p&gt;Add&amp;nbsp;security for the Web API by making &amp;nbsp;Web API access group as viewers&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Create a connected system with API key Authentication by providing header &lt;span style="font-family:Courier New;"&gt;Appian-API-Key &lt;/span&gt;&lt;span&gt;or as mentioned in &lt;/span&gt;&lt;span&gt;&lt;a title="community" href="https://docs.appian.com/suite/help/19.4/Web_API_Authentication.html#api-key-authentication"&gt;community&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Call the integration as a rule by passing the required parameters if any.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In old versions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You have to create a user with the&amp;nbsp;same basic authentication username and password&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You need to create the secure credential store with the same basic authentication username and password&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You have to add the user to the Web API Access group (Any group that has to access the Web API)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You have to make Web API Access group as a viewer to the web api and the application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: authentication issue with web API</title><link>https://community.appian.com/thread/71044?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 02:36:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:59c9715d-157f-4339-9dc7-e63642b269e1</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;Appian doesn&amp;#39;t support authentication via the browser address bar right now.&lt;/p&gt;
&lt;p&gt;Try accessing your Appian Web API object using a proper web client (e.g. SoapUI or POSTman) and make sure you authenticate preemptively with user name and password.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>