You need to pass the tag field as a string. You can update that and retry. Apart from this, I don't see any issue in your order param. You need to recheck if you are passing correct values for all variables assigned to the publisher fields.
I just used the same set of order params as yours and it's working fine. To me, it seems like an import or block error of the publisher js file in your browser. Can you inspect the same by using chrome's debug console?
@rakeshr we are not able to find any error It would be great, if you can inform what all codes to share with you which will smoothen our process in implementing the codes as we are just left with this error only.....rest all the codes are completed Also it would be great, if we can connect on a short call where you can guide us on the same which can help us complete our integration
@reedos, Kite Publisher is working fine and being used by many users in production. There is no issue from our end. You need to put debug logs and see what data you are passing.
This error occurs due to mismatch between the exchange and tradingsymbol.
Paste your exact request parameters.
exchange: "NSE",
tradingsymbol: "APTECHT",
quantity: 2,
transaction_type: "BUY",
order_type: "MARKET",
product: "CNC",
validity: "DAY",
variety: "regular",
readonly: true,
tag: 37682,
});
Maybe Sujith Sir, Rakesh Sir can help you.
exchange: exch.toUpperCase(),
tradingsymbol: tradingSymb.toUpperCase(),
quantity: parseInt(quantity),
transaction_type: buysell.toUpperCase(),
order_type: "MARKET",
product: "CNC",
validity: "DAY",
variety: "regular",
readonly: true,
tag: fprecomid.toString(),
});
we are not able to find any error
It would be great, if you can inform what all codes to share with you which will smoothen our process in implementing the codes as we are just left with this error only.....rest all the codes are completed
Also it would be great, if we can connect on a short call where you can guide us on the same which can help us complete our integration
thanks
Kite Publisher is working fine and being used by many users in production. There is no issue from our end.
You need to put debug logs and see what data you are passing.