K2 Cloud - Anonymous form issue: "The anonymous token supplied is invalid"

  • 24 February 2022
  • 0 replies
  • 218 views

Userlevel 5
Badge +20
 

K2 Cloud - Anonymous form issue: "The anonymous token supplied is invalid"

kbt148538

PRODUCT
K2 Cloud
BASED ON
K2 Cloud (all)
TAGS
K2 Services
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

The error appears on K2 Runtime Sites: "The anonymous token supplied is invalid."

 

Image

Symptoms

It will be possible to access the K2 Runtime anonymous site, but it will fail to load the needed runtime page:

 

The anonymous token supplied is invalid

   •Type: SourceCode.Forms.AppFramework.InvalidAnonymousTokenException

   •Source: SourceCode.Forms

   •Method Base

Troubleshooting Steps

You can try adding the following setting in the AppSettings section of the relevant Designer/Runtime web.config file:

 

<add key="Forms.AnonymousAuthorizationModule.TokenServerVariables" value="None" />

Designer/Runtime web.config files can be found in the following locations:

C:Program Files (x86)K2 blackpearlK2 smartforms DesignerWeb.config

C:Program Files (x86)K2 blackpearlK2 smartforms RuntimeWeb.config.

 

To resolve this issue, please log a K2 Support Ticket on the K2 Customer Portal for assistance as this needs to be configured on the K2 Cloud Instance.


0 replies

Be the first to reply!

Reply