☰
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.4K
All Categories
0
Incidents
167
Node JS client
46
Go client
812
.Net API client
391
Kite Publisher
539
.Net / VBA / Excel (3rd party)
473
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
355
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.