It happens sometimes that while placing order, the program throws Input Exception.
It does not happen every time. It occurs once a week or so, so it's hard to reproduce and indicates that it does not seem like issue with my code.
I don't retry placing orders in a loop. That is, If placing an order fails, I check my history of placed orders and by comparing them with unique orderTag, I check If order has gone through in-spite of exception before retrying.
I retry 3 times before deciding to quit.
Generally the API works fine and I don't face issues. Today it happened and my program was unable to exit from SBIN @ 9:45 AM due to this and profit turned into losses. Code: com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException