Unable to connect to TIBCO Spotfire Cloud server URL from TIBCO Spotfire Analyst client with. ERROR: Invalid or missing CSRF token (HRESULT: 80131509).

Unable to connect to TIBCO Spotfire Cloud server URL from TIBCO Spotfire Analyst client with. ERROR: Invalid or missing CSRF token (HRESULT: 80131509).

book

Article ID: KB0079272

calendar_today

Updated On:

Products Versions
Spotfire Analyst All Versions
TIBCO Cloud Spotfire All Versions
TIBCO Spotfire Cloud Personal All Versions

Description

When logging in with existing an TIBCO Spotfire Analyst client pointing to the production TIBCO Spotfire Cloud URL (https://spotfire.cloud.tibco.com), it fails to connect with error "Invalid or missing CSRF token (HRESULT: 80131509)."  This is caused by a conflict with cookies in Internet Explorer interfering with connection.

The detailed stack trace is

Error message: An unknown error has occurred.
UserDirectoryServiceException at Spotfire.Dxp.Services:
Invalid or missing CSRF token (HRESULT: 80131509)
Stack Trace:
  at Spotfire.Dxp.Services.WebServiceBase`1.InvokeService[T](ServiceMethod`1 serviceMethod, ExceptionFactoryMethod exceptionFactoryMethod)
  at Spotfire.Dxp.Services.Authenticator.Authenticate(SpotfireIdentity identity, PrincipalProvider provider)
  at Spotfire.Dxp.Loader.LoginHandler.PerformLogin()
SoapHeaderException at System.Web.Services:
Invalid or missing CSRF token (HRESULT: 80131501)
Stack Trace:
  at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
  at Spotfire.Dxp.WebServices.UserDirectoryService.getPrincipal(String id)
  at Spotfire.Dxp.Services.WebServiceBase`1.InvokeService[T](ServiceMethod`1 serviceMethod, ExceptionFactoryMethod exceptionFactoryMethod)

 

Issue/Introduction

Unable to connect to TIBCO Spotfire Cloud server from Tibco Spotfire Analyst client. ERROR: Invalid or missing CSRF token (HRESULT: 80131509).

Resolution

Workaround 1:
  1. Uninstall the existing installed TIBCO Spotfire Analyst client.
  2. Download the latest version of the TIBCO Spotfire Analyst client from your user account.
  3. Run the MSI Installer TIBCO-Spotfire-Cloud-Analyst-Setup.exe
  4. Run the TIBCO Spotfire Analyst from Program Files with your Spotfire Cloud user credentials.
Workaround 2:
This can also be resolved by clearing the cookies in IE.
To delete cookies in the desktop, open the desktop, and then tap or click the Internet Explorer icon on the task bar. Tap or click the Tools button, point to Safety, and then tap or click Delete browsing history. Select the Cookies and website data check box, and then tap or click Delete.