<?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>WEB API issue when is writing to the DB</title><link>https://community.appian.com/discussions/f/integrations/13707/web-api-issue-when-is-writing-to-the-db</link><description>Hi, 
 I&amp;#39;m experiencing issues when I&amp;#39;m trying to write to DB with another user. Basically my API looks exactly like this one: https://docs.appian.com/suite/help/18.3/Web_API_Tutorial_-_Level_II.html 
 With my user is working fine, but with another user</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: WEB API issue when is writing to the DB</title><link>https://community.appian.com/thread/64232?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 07:30:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fe20b061-fd3f-4a92-a930-d832bcfcbaf3</guid><dc:creator>Dude</dc:creator><description>Please check security. You should give viewer security for application, rules folder, records, data store Web API and KC (if any using)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WEB API issue when is writing to the DB</title><link>https://community.appian.com/thread/62206?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 03:47:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:345b8873-db79-4919-8f36-b171d96e08ca</guid><dc:creator>josep</dc:creator><description>Hello mike for sure take a look at the security and set they to a group, that way if one user get it right any other user inside that group can get the same. Please take a look at the others suggestions. &lt;br /&gt;
&lt;br /&gt;
Another comment is to take look at the logs, what error do you get there? If nothing comes up there let us know we might be able to help in other way. &lt;br /&gt;
&lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WEB API issue when is writing to the DB</title><link>https://community.appian.com/thread/62198?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 00:48:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e67251c0-1611-46ac-8c95-796d4f1cfb87</guid><dc:creator>sahithip120</dc:creator><description>Hi Mike,&lt;br /&gt;
&lt;br /&gt;
As suggested by Alok, Please check the security of the web API, Data Store Entity, rules directory and the process models if used in WebApi.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WEB API issue when is writing to the DB</title><link>https://community.appian.com/thread/62194?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 00:32:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1d5ecd48-7743-472e-bba1-12e9eec00dfe</guid><dc:creator>aloks0189</dc:creator><description>Hi &lt;a href="/members/miket0001"&gt;miket0001&lt;/a&gt; couple of workaround to find out the root cause of this issue:&lt;br /&gt;
&lt;br /&gt;
-- I would not recommend setting up the security to the user&amp;#39;s directly, instead create a group for the basic users who can access this API&lt;br /&gt;
     -- Try mapping this user under this newly created group &lt;br /&gt;
     -- Allow this newly created group as Viewer permission to the following types of objects&lt;br /&gt;
     -- API, Data Store Entity, rules directory (in case some rules are being used in this API) and the process model(if its being triggered by this API)&lt;br /&gt;
&lt;br /&gt;
If the above solution didn&amp;#39;t work, then try debugging this as mentioned below:&lt;br /&gt;
-- Try mapping this user under the same group as yours, once it&amp;#39;s done, try accessing this API using the other user account. &lt;br /&gt;
     -- If this is working means, your group security setting with respect to objects are different than the basic user group.&lt;br /&gt;
     -- If this also didn&amp;#39;t work then i would recommend you to have a look on log, as HTTP ERROR 500 represents exceptions&lt;br /&gt;
&lt;br /&gt;
Hope this will help you trace/debug the actual error and resolve it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>