☰
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
13.8K
All Categories
0
Incidents
152
Node JS client
39
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
992
Java client
1.1K
API clients
402
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.