Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ozcano
Contributor III

Ticket retrieval failed Error when using Qlik.Engine to connect to qlik sense hub using c#

Hello

I am using Qlik.Engine to connect to qlik sense hub using C# (The Qlik Sense .NET SDK is a development toolbox for use with applications such as Microsoft Visual Studio.).

Following is the code that I am using. When calling location.Hub(), it gives error : System.Security.Authentication.AuthenticationException: 'Ticket retrieval failed.'

Would you please help me?

Regards, Ozcan

 

ozcano_0-1707297002483.png

 

Labels (1)
  • API

1 Solution

Accepted Solutions
Øystein_Kolsrud
Employee

Can't say for sure, but you probably shouldn't have "hub" as part of the url used when creating the Location instance. Unless you have a virtual proxy named "hub" that is. And you should double check the password and user info of course. You get that error if you have the wrong password. I tried it, and when I reverted back to my correct one I kept getting the same error because I had been locked out of the account due to too many logon attempts 🙄

View solution in original post

1 Reply
Øystein_Kolsrud
Employee

Can't say for sure, but you probably shouldn't have "hub" as part of the url used when creating the Location instance. Unless you have a virtual proxy named "hub" that is. And you should double check the password and user info of course. You get that error if you have the wrong password. I tried it, and when I reverted back to my correct one I kept getting the same error because I had been locked out of the account due to too many logon attempts 🙄