Getting GeneralException when trying to use getMargins library function

Solixious
Solixious edited August 8 in Java client
Hi. I am getting following error when I try to get Margin
com.zerodhatech.kiteconnect.kitehttp.exceptions.GeneralException: null
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.dealWithException(KiteResponseHandler.java:53) ~[kiteconnect-3.5.0.jar:na]
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteResponseHandler.java:21) ~[kiteconnect-3.5.0.jar:na]
at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.getRequest(KiteRequestHandler.java:54) ~[kiteconnect-3.5.0.jar:na]
at com.zerodhatech.kiteconnect.KiteConnect.getMargins(KiteConnect.java:244) ~[kiteconnect-3.5.0.jar:na]
at com.snowball.service.KiteService.getMargin(KiteService.java:73) ~[classes/:na]


The same code was working earlier today. The issue seemed intermittent until about an hour ago. Got this error sometimes, but worked on retry.
Now this error comes every time I try hitting the API via kite connect.
Can someone please help me understand the issue?
Thank you?
  • Nivas
    I used getMargins, function, and everything seems to be working fine. You might want to try it again on your end. If the issue still occurs, you could enable debug mode to identify and resolve the problem.


Sign In or Register to comment.