You are currently reviewing an older revision of this page.

DRAFT KB-XXXX Compare App fails at a!dpl_app_actionInspectOnConnectedEnvironment [line 311] Keys must be unique

This issue has been resolved in an Appian hotfix/new Appian version. Please apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.

Symptoms

When attempting to use the Compare App feature across two environments with an established Devops: Infrastructure connection, the following error message appears:

This same error will appear in the application server log as well:

com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = XXXXXXXX] : Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!dod_api_app_getAppianVersionOfRemoteEnv [line 28]: com.appiancorp.connectedenvironments.EnvironmentCommunicationException: Response Code = 302 (APNX-X-XXXX-XXX) Caused by: com.appiancorp.core.expr.exceptions.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error [evaluation ID = XXXXXXXX] : Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!dod_api_app_getAppianVersionOfRemoteEnv [line 28]: com.appiancorp.connectedenvironments.EnvironmentCommunicationException: Response Code = 302 (APNX-X-XXXX-XXX)

Cause

This issue has been addressed via AN-142355 in Appian 19.3 Hotfix Package B.

Action

Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.

Workaround

This issue is a result of case-colliding CDT names being exported in a patch via the Devops: Infrastructure connection (e.g. one CDT with name = NAME and one CDT with name = name being added to the same patch.) Removing all instances of case-colliding CDT names from your patch should resolve this issue.

Affected Versions

This article applies to Appian 19.3.

Last Reviewed: October 2019