<?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/"><channel><title>KB-2066 Connected systems object authorization fails with "query did not return a unique result" following import</title><link>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2066 Connected systems object authorization fails with "query did not return a unique result" following import</title><link>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import</link><pubDate>Wed, 29 Jan 2020 05:12:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c015ffb-8abc-48ef-8896-3755f4f6d6c9</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 1/29/2020 5:12:41 AM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After importing a &lt;a href="https://docs.appian.com/suite/help/latest/Connected_System_Object.html"&gt;Connected System&lt;/a&gt; object from one environment to another and attempting to authorize the object, the below error is thrown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&lt;span&gt;The System Has Encountered an Error &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;HTTP Code: 500 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;APNX-X-XXXX-XXX &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;Error Evaluating UI Expression Expression evaluation error [evaluation ID = XXXXXXXX] : [valid:false,syntaxError:false,value:Expression evaluation error: An error occurred while executing a save: org.hibernate.NonUniqueResultException: query did not return a unique result: X]&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-147907&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Delete the Connected System that fails to authorize&amp;nbsp;and re-import&amp;nbsp;it.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.1 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: January 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, connected systems, integration, import/export, open issues&lt;/div&gt;
</description></item><item><title>Connected systems object authorization fails with "query did not return a unique result" following import</title><link>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import/revision/3</link><pubDate>Tue, 28 Jan 2020 13:56:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c015ffb-8abc-48ef-8896-3755f4f6d6c9</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import#comments</comments><description>Revision 3 posted to Appian Knowledge Base by James Lee on 1/28/2020 1:56:35 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After importing a &lt;a href="https://docs.appian.com/suite/help/latest/Connected_System_Object.html"&gt;Connected System&lt;/a&gt; object from one environment to another and attempting to authorize the object, the below error is thrown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&lt;span&gt;The System Has Encountered an Error &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;HTTP Code: 500 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;APNX-X-XXXX-XXX &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;Error Evaluating UI Expression Expression evaluation error [evaluation ID = XXXXXXXX] : [valid:false,syntaxError:false,value:Expression evaluation error: An error occurred while executing a save: org.hibernate.NonUniqueResultException: query did not return a unique result: X]&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-147907&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Delete the Connected System that fails to authorize&amp;nbsp;and re-import&amp;nbsp;it.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.1 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: January 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, connected systems, integration, import/export, open issues&lt;/div&gt;
</description></item><item><title>Connected systems object authorization fails with "query did not return a unique result" following import</title><link>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import/revision/2</link><pubDate>Mon, 27 Jan 2020 13:12:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c015ffb-8abc-48ef-8896-3755f4f6d6c9</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import#comments</comments><description>Revision 2 posted to Appian Knowledge Base by James Lee on 1/27/2020 1:12:42 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After importing a &lt;a href="https://docs.appian.com/suite/help/latest/Connected_System_Object.html"&gt;Connected System&lt;/a&gt; object from one environment to another, the below error is thrown when attempting to authorize the Connected System:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&lt;span&gt;The System Has Encountered an Error &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;HTTP Code: 500 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;APNX-X-XXXX-XXX &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;Error Evaluating UI Expression Expression evaluation error [evaluation ID = XXXXXXXX] : [valid:false,syntaxError:false,value:Expression evaluation error: An error occurred while executing a save: org.hibernate.NonUniqueResultException: query did not return a unique result: X]&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-147907&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Delete the Connected System that fails to authorize&amp;nbsp;and re-import&amp;nbsp;it.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.1 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: January 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, connected systems, integration, import/export&lt;/div&gt;
</description></item><item><title>Connected systems object authorization fails with "query did not return a unique result" following import</title><link>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import/revision/1</link><pubDate>Mon, 27 Jan 2020 12:59:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c015ffb-8abc-48ef-8896-3755f4f6d6c9</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/1654/kb-2066-connected-systems-object-authorization-fails-with-query-did-not-return-a-unique-result-following-import#comments</comments><description>Revision 1 posted to Appian Knowledge Base by James Lee on 1/27/2020 12:59:07 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After importing a connected system from one environment to another, the below error is thrown when attempting to authorize the connected system:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&lt;span&gt;The System Has Encountered an Error &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;HTTP Code: 500 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;APNX-X-XXXX-XXX &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;Error Evaluating UI Expression Expression evaluation error [evaluation ID = XXXXXXXX] : [valid:false,syntaxError:false,value:Expression evaluation error: An error occurred while executing a save: org.hibernate.NonUniqueResultException: query did not return a unique result: X]&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is required for this template. When writing a cause for a particular article, ensure the following is taken into consideration:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The cause is concise and does not disclose more information than absolutely necessary.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;The cause does not share any Appian source code. Source code for plugins/shared components are fine.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If this is an issue outside of the Appian product and the third-party vendor included documentation referencing the bug, provide their documentation for reference.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;For any enhancements/defects, use one of the following as applicable:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-XXXXX&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This product use case has been logged to the Appian Product Team for consideration to add this functionality in the product. Kindly note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This issue has been addressed via&amp;nbsp;&lt;strong&gt;AN-XXXXX&lt;/strong&gt;&amp;nbsp;in Appian X.X Hotfix Package X.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This issue has been addressed via&amp;nbsp;&lt;strong&gt;AN-XXXXX&lt;/strong&gt;&amp;nbsp;in the following hotfixes/versions:&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;List each specific hotfix package/version in descending order by version.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This use case has been incorporated in Appian X.X Hotfix Package X.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This use case has been incorporated in the following versions/hotfixes:&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;List each specific hotfix package/version in descending order by version.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;When listing hotfixes, add a hyperlink to the Hotfix documentation for that version.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When logging a product defect, ensure you use the&amp;nbsp;&lt;strong&gt;known issues&lt;/strong&gt;&amp;nbsp;tag as well as the&amp;nbsp;&lt;strong&gt;open issues&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;&lt;strong&gt;fixed issues&lt;/strong&gt;&amp;nbsp;tag, depending if the issue is fixed or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If no cause is known and this is not something Engineering can reproduce/needs to know about, then say &amp;ldquo;The root cause of this issue is currently unknown.&amp;rdquo; If you use that as your cause, then a valid action&amp;nbsp;&lt;/span&gt;&lt;strong&gt;must&lt;/strong&gt;&lt;span&gt;&amp;nbsp;be present.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is required for this template and contains the steps to resolve the issue. If an issue in an article is solved by a hotfix and/or major version of Appian, use the following language to indicate that:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Apply the latest hotfix to your Appian installation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Upgrade to the latest version of Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If there is a product issue with Engineering that is open and a workaround for that issue exists, include it in the Action section until the fix is available. After the fix is made available, use that as a workaround instead.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Otherwise, the content in this section should wholly solve a customer&amp;rsquo;s issue without producing any undesirable side effects. If there is at least one valid action that doesn&amp;rsquo;t cause undesirable side effects, all other actions with negative side effects should go in the Workaround section.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If there is no action or workaround that resolves the issue, use the following language:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;There is no action or workaround currently available for this issue. If you are facing this issue, please open a support case with Appian.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is optional and should only be used as an alternative action if there is a massive technical debt associated with performing the action in the above section for customers (such as upgrading). It can also be used if there is a solution to the issue in the article but is more inconvenient to implement or it causes other undesirable behavior and wouldn&amp;rsquo;t warrant being an action.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section includes any relevant version information for Appian or other third/party configurations. Some examples of valid affected versions are as follows:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This article applies to Appian 7.11 and later.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This article applies to Appian 16.2 and earlier.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This article applies to Appian 7.11 and 16.1.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This article applies to Appian 16.1, 16.2, and 16.3.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This article applies to all versions of Appian from Appian 7.10 to Appian 16.2.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This article applies to all versions of Appian using JBoss EAP 6.4.9 as an application server and Internet Explorer 9 as a web browser.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;This article applies to all versions of Appian Cloud.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: Month YYYY&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>