☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.5K
All Categories
0
Incidents
171
Node JS client
48
Go client
819
.Net API client
393
Kite Publisher
542
.Net / VBA / Excel (3rd party)
476
Algorithms and Strategies
1K
Java client
1.2K
API clients
408
PHP client
4.2K
Python client
354
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.5K
General
In this Discussion
April 2020
sujith
Cancel order throws input exception always
vikasjaiswal7205
April 2020
edited April 2020
in
Java client
Hi team,
I am using below code to cancel regular order , i can see order gets cancelled but it always throws inputException. Is it expected?
try {
k.cancelOrder(order.orderId, Constants.VARIETY_REGULAR);
}
catch (com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException e)
{
}
catch (KiteException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
Tagged:
cancelorder
sujith
April 2020
It shouldn't throw an exception. Can you paste the exception message here?
Sign In
or
Register
to comment.