What steps should I take if connecting to a Qlik SaaS App with JWT authentication and getting the error HTTP response code was 'Unauthorized/401'?

What steps should I take if connecting to a Qlik SaaS App with JWT authentication and getting the error HTTP response code was 'Unauthorized/401'?

FIRST CREATED ON 14 Sept 2026  I  AUTHOR Emma Camacho


If connecting to a Qlik SaaS App with JWT authentication and getting the following error

ADDITIONAL INFORMATION
Error establishing RPC connection to 'https://company.eu.qlikcloud.com/login/jwt-session'. HTTP response code was 'Unauthorized/401'

STACK TRACE
Exception: Error establishing RPC connection to 'https://company.eu.qlikcloud.com/login/jwt-session'. HTTP response code was 'Unauthorized/401'. Response body was '{"errors":[{"title":"Unauthorized","code":"AUTH-1","status":"401"}],"traceId":"d5d32ce2fe61c55e6da8f68ce739xxxx"}'
at MailAndDeploy.Server.Connectors.QlikSense.QsSaasConnector.EstablishRpcConnection(Uri pUri, JsonRpcCookie[] pCookies, JsonRpcHeader[] pHeaders)
at MailAndDeploy.Server.Connectors.QlikSense.QsSaasConnector.EstablishRpcConnection(String pAppId, String& pEngineSessionId)
at MailAndDeploy.Server.Connectors.QlikSense.Model.QsApp.EstablishRpcConnection()
at MailAndDeploy.Server.Connectors.QlikSense.Model.QsApp..ctor(QsConnector pConnector, Func`2 pWebBrowserCreator, String pAppId)
at MailAndDeploy.Server.Connectors.QlikSense.QsConnector.OpenApp(QlikSenseAppDatasource pDatasource, UserIdentity pIdentity)
at MailAndDeploy.Server.Persistency.Entities.Datasource.RebuildCache()
at MailAndDeploy.Server.Services.Management.Ui.DatasourcesSheet.ListPage_EntitiesTable_CellButtonClicked(String pSender, String pData)

Please sync the time in your laptop.




Info

Looking for Additional Guidance?

If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.