You are currently reviewing an older revision of this page.

DRAFT KB-XXXX 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 compare applications across two environments with an established Devops: Infrastructure connection, the following error message appears:

The 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 section is required for this template. When writing a cause for a particular article, ensure the following is taken into consideration:

Action

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:

Workaround

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’t warrant being an action.

Affected Versions

This section includes any relevant version information for Appian or other third/party configurations. Some examples of valid affected versions are as follows: