Upon creating a new user or editing an existing user in the Admin Console, users will encounter a pink box error similar to the following:
An Error Has Occurred Expression evaluation error at function a!admin_adminConsoleMain: An error occurred while executing a save: Expression evaluation error : A dropdown component [label=“”] has an invalid value for “choiceValues”. Duplicate items are not allowed in the choiceValues array, but choiceValues was Associate; Associate; Manager; President; Sr. Manager; Vice President.
The following error can be seen in the application server log:
INFO [stdout] (http-/0.0.0.0:8080-6) 2016-11-02 19:50:48,001 [http-/0.0.0.0:8080-6] ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. INFO [stdout] (http-/0.0.0.0:8080-6) com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionWithRootCauseProvider: Expression evaluation error at function a!admin_adminConsoleMain: An error occurred while executing a save: Expression evaluation error : A dropdown component [label=“”] has an invalid value for “choiceValues”. Duplicate items are not allowed in the choiceValues array, but choiceValues was Associate; Associate; Manager; President; Sr. Manager; Vice President. (APNX-1-4198-019) ... INFO [stdout] (http-/0.0.0.0:8080-6) Caused by: com.appiancorp.suiteapi.common.exceptions.AppianException: An error occurred while executing a save: Expression evaluation error : A dropdown component [label=“”] has an invalid value for “choiceValues”. Duplicate items are not allowed in the choiceValues array, but choiceValues was Associate; Associate; Manager; President; Sr. Manager; Vice President. (APNX-1-4198-019) ... [stdout] (http-/0.0.0.0:8080-6) Caused by: com.appiancorp.core.expr.exceptions.IssuedException: com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error : A dropdown component [label=“”] has an invalid value for “choiceValues”. Duplicate items are not allowed in the choiceValues array, but choiceValues was Associate; Associate; Manager; President; Sr. Manager; Vice President. (APNX-1-4198-000) ...
There are duplicate user titles within the environment. This is caused by the UserService API that allows the creation, using a custom plug-in, of new titles, even if a title with the same name already exists in the environment.
This issue has been reported to the Appian product team. The reference number for this issue is AN-77373.
To remove the duplicate titles, work with Appian Technical Support to perform the following:
Create new users/edit existing users in the People tab in /designer. This can be done in Appian 16.3 and earlier.
This article applies to Appian 16.2 and later.
Last Reviewed: March 2017