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)]
Activity Chaining has not been enabled in the connector lines prior to that node.
Enable Activity Chaining on all prior connector lines.
Set UsePerUser to be false and supply a single set of valid credentials in the Third-Party Credentials window in the Admin Console.
This article applies to all versions of Appian.
Last Reviewed: March 2017
© 2022 Appian. All rights reserved.