I'm facing an input exception error when I'm trying to place the order using the JAVA method, I'm able to retrieve the quotes, order history etc. but not able to place the order. Following are my code snippet, logs with the values I'm seetting and the error message, can someone kindly help me with this.
I added an additional Catch block as follows and I got this message, not sure if this is because I was testing this at 4 AM, but this is the error I have now. Not sure what those single quotes are around the value, but
Or just run it in debug mode to see the error message.
Following is the error message I posted in the earlier post, not sure what you mean by "Can you paste the error message sent?"
INFO | jvm 1 | 2019/02/19 11:49:24 | com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException
INFO | jvm 1 | 2019/02/19 11:49:24 | at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.dealWithException(KiteResponseHandler.java:54)
INFO | jvm 1 | 2019/02/19 11:49:24 | at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteResponseHandler.java:20)
INFO | jvm 1 | 2019/02/19 11:49:24 | at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.postRequest(KiteRequestHandler.java:85)
INFO | jvm 1 | 2019/02/19 11:49:24 | at com.zerodhatech.kiteconnect.KiteConnect.placeOrder(KiteConnect.java:282)
I added an additional Catch block as follows and I got this message, not sure if this is because I was testing this at 4 AM, but this is the error I have now. Not sure what those single quotes are around the value, but
INFO | jvm 1 | 2019/02/21 04:04:21 | Caught Input Exception -> Invalid `validity`