KB-1216 "The encryption key for [APPIAN_USER] was not populated during login" error thrown when executing a process that requires access to the Secure Credentials Store
Symptoms
When attempting to execute a node in a process model that requires access to the Secure Credentials Store and UsePerUser is set to true, the following error is thrown:
ERROR <PACKAGE_NAME> - ConnectorRuntimeException [title=Failed to retrieve value from SCS username=, com.appian.integration.core.exception.ConnectorRuntimeException: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.suiteapi.common.exceptions.AppianException: An error occurred while accessing the per-user credentials from the Secure Credentials Store. The encryption key for <APPIAN_USER> was not populated during login. See the documentation for proper configuration when using a custom authentication provider. (APNX-1-4221-001)]
Cause
Activity Chaining has not been enabled in the connector lines prior to that node.
Action
Enable Activity Chaining on all prior connector lines.
Workaround
Set UsePerUser to be false and supply a single set of valid credentials in the Third-Party Credentials window in the Admin Console.
Affected Versions
This article applies to all versions of Appian.
Last Reviewed: March 2017
