Getting Error : 'Instrument is invalid.'

pritee9
pritee9 edited June 2019 in General
Dear Sir/madam,
While placing order in node js, I'm getting the error 'Instrument is invalid.'(image attached)
Kindly assist


Code :
function ZerodhaPlaceOrder(OrderFutures) {

var transaction_type = ''
if (OrderFutures > 0) {
transaction_type = "BUY"
}
if (OrderFutures < 0) {
transaction_type = "SELL"
}
var PlaceOrder = Math.abs(OrderFutures)
return new Promise((resolve, reject) => {
kc.placeOrder("regular", {
"exchange": "NSE_FO",
"tradingsymbol": "NIFTY19JUNFUT",
"transaction_type": transaction_type,
"quantity": PlaceOrder,
"product": "NRML",
"order_type": "MARKET"
}).then(async function (response) {
console.log(response);
order_id = response.data.order_id;
const1 = await ZerodhaGetOrderStatus(order_id);
resolve(response);

})
.catch(function (error) {
IsEnteredDecision = 0;
console.log(error);
reject(error);

});
});

}


This discussion has been closed.