Following an upgrade of Appian, some Connected System objects fail to load with the following error message:
The System Has Encountered an ErrorHTTP Code: 500APNX-X-XXX-XXXError Evaluating UI ExpressionExpression evaluation error [evaluation ID = XXXXXX] : Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!aos_overrideEditLink [line 9]: com.fasterxml.jackson.databind.JsonMappingException: Failed to decrypt. Only values of type ’Encrypted Text’ can be decrypted. (through reference chain: com.appiancorp.connectedsystems.templateframework.sdk.configuration.ConfigurationDescriptor["state"]->java.util.LinkedHashMap["root"]->java.util.LinkedHashMap["secretAccessKey"])
In the application server log, the below error message will be printed:
YYYY-MM-DD HH:MM:SS [localhost-startStop-1] ERROR com.appiancorp.connectedsystems.http.migration.configobject.MigratePersistedConnectedSystems - Error persisting, migration will be skipped for this connected system: ... com.appiancorp.suiteapi.content.exceptions.InsufficientNameUniquenessException: Name is insufficiently unique
This behavior occurs when an Appian Application has the same name as a Connected System object. This issue has been addressed via AN-145648 in the following hotfixes/versions:
If a hotfix is required for Appian 17.4 or 18.1, open a case with Appian Support.
Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.
There are two workarounds that can resolve this issue:
Open a case with Appian Support to report this behavior. Ensure to confirm on the support case that the above steps for the second workaround option have been completed.
This article applies to all versions of Appian from Appian 17.4 to Appian 19.4.
Last Reviewed: December 2019
© 2023 Appian. All rights reserved.