You are currently reviewing an older revision of this page.

Connected systems object authorization fails with "query did not return a unique result" following import


After importing a Connected System object from one environment to another and attempting to authorize the object, the below error is thrown:

The System Has Encountered an Error 
HTTP Code: 500

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]


This issue has been reported to the Appian Product Team. The reference number for this issue is AN-147907.


Delete the Connected System that fails to authorize and re-import it.

Affected Versions

This article applies to Appian 18.1 and later.

Last Reviewed: January 2020