Modify CO Error

R1C1
Hi,

I am able to execute a buy CO, however, when I want to modify my Stoploss i.e. for sell-side, I am getting error.

My line is as below:

Unhandled Error
.
.
.
.
kite.modify_order(variety="CO",order_id=orderid, parent_order_id=parent_order_id, trigger_price=newslprice, order_type="LIMIT")
.
.
.
kiteconnect.exceptions.InputException: Invalid `api_key` or `access_token`.
This discussion has been closed.