☰
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.2K
All Categories
0
Incidents
158
Node JS client
45
Go client
801
.Net API client
386
Kite Publisher
538
.Net / VBA / Excel (3rd party)
466
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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.