Since the API server is used by the clients programmatically, the load on the server varies throughout the day which increases place order time from some users. We are working on improving these edge cases.
Got it corrected. It was my mistake I was passing actual price for stoploss in OCO order. Corrected my code and now it is placing orders. Thanks for the quick response. But I suggest giving a better error response in
this case. In your Rejected error message add details like Buy price, SL and Target values also for which this order is rejected. It will alert the user by looking at this details.