Getting KiteTokenException for getMargins and getQuote API Calls

velms
velms edited November 2017 in Java client
Hi @sujith ,

Both getMargins and getQuote calls fails everytime for my client now , my client IS is DC1301 .
They use to give "KiteTokenException " regularly like 1 out of 2 times , but now it fails everytime.
Attached the screenshot of the stacktrace for both API calls.

Other APIs like getLTP , getPositions , placeOrder works like a charm :smile:


Margins margin = kiteConnect.getMargins("equity");

and

Quote contract1 = kiteConnect.getQuote("NFO", "BANKNIFTY23NOV1725800CE");
Quote contract2 = kiteConnect.getQuote("NFO", "BANKNIFTY23NOV1725800PE");




Plz look into this.

Thanks & Regards,
velu
Sign In or Register to comment.