You are currently reviewing an older revision of this page.

KB-XXXX "The Token can't be used before" error when adding environments to DevOps Infrastructure

Symptoms

When sending a connection request to add an environment to the Infrastructure section of the Admin console, users may see the following error after attempting to approve the request in the target environment:

2020-07-16 17:23:54,532 [ajp-nio-8009-exec-16] ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.
com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = 08VVOR4Q] : The Token can't be used before Thu Jul 16 17:24:35 GMT 2020. (APNX-1-4198-000)

Cause

The server time on the two environments is out of sync.

Action

Ensure the server time on both servers is up-to-date and in-sync with each other. If the environments are hosted in Linux the timedatectl and ntpd utilities are available to get more information. If on Windows, the w32tm utility is available to check server time.

Affected Versions

This article applies to Appian 19.4 and later.

Last Reviewed: September 2020