Invalid orders payload

sachin_ao
sachin_ao edited September 2019 in Kite Publisher
Error msg:
{"status":"error","message":"Invalid orders payload.","data":null,"error_type":"InputException"}

Here i am pasting the html button.
Works for few stocks and it doesnot work for few stocks.
This one works,
href="#" data-kite="###" data-exchange="NSE" data-tradingsymbol="NIACL" data-transaction_type="BUY" data-quantity="1" data-order_type="LIMIT" data-price="106.1" data-product="MIS" class="kite-buy" title="BUY NIACL"
This one doesnot, not sure why.
href="#" data-kite="###" data-exchange="NSE" data-tradingsymbol="SBILIFE" data-transaction_type="BUY" data-quantity="1" data-order_type="LIMIT" data-price="805.0" data-product="MIS" class="kite-buy" title="BUY SBILIFE"

Note: data-kite is api key, which is same across both.
  • UI7661
    Found one bug. If StopLossPoints or targetpoints are whole number double. Means 1.0, 2.0, 1000.0 so on. It gives exception of invalid payload. It works if it is 1.1, 1.2, 1.3 etc.
  • rakeshr
    @sachin_ao
    We are looking at this.
Sign In or Register to comment.