Getting user null
-
User user = smartConnect.generateSession(clientId, "8844",myTotp);
if (user != null) {
String feedToken = user.getFeedToken();
String strWatchListScript = "nse_cm|2885&nse_cm|1594&nse_cm|11536&mcx_fo|221658";
String task = "mw";Examples examples = new Examples(); try { examples.tickerUsage(clientId, feedToken, strWatchListScript, task); } catch (SmartAPIException e) { e.printStackTrace(); }
I am using it in android studio and i am getting null user
-
Hi @Dipansu
Apologies for delayed response.
GenerateSession is working fine from our end. Kindly reverify and let us know if the issue still occurs.Thanks & Regards,
SmartAPI team