I am using node js library, I am placing a cover order and receiving the order_id as well when i place it and I am using the same order_id to exit the Cover Order. When I try to exit I am getting the below error, Please some one help in this regard.
error { 0|index | status: 'error', 0|index | message: 'Order cannot be cancelled as it is being processed. Try later.', 0|index | data: null, 0|index | error_type: 'InputException' 0|index | }
Thanks Sujith for the response, Looks like i have to find the parent_order_id for the executed order and Should cancel the parent_order_id in order to exit the Cover order.