KB-2004 Compare App fails with Response Code = 302 due to error at a!dod_api_app_getAppianVersionOfRemoteEnv
| 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-141820 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
Removing any pending or inactive Devops: Infrastructure connections will restore functionality to the Compare App feature. Connections can be removed with the red "x" in the right most column of the Devops: Infrastructure table:

The Devops: Infrastructure table can be found in the Admin Console under Devops --> Infrastructure.
Affected Versions
This article applies to Appian 19.3.
Last Reviewed: October 2019
