Getting exception -Couldn't find that `order_id` (2)Invalid `api_key` or `access_token`

jkoracle23
@sujith - I am facing two exceptions (mentioned below) time to time at random time in the MIDDLE of log due to kiteConnect.getOrderHistory(order.orderId)
My code handles these exception and continue trading. But I would like to know why these come occasionally at random time ?
(1)Couldn't find that `order_id` (2)Invalid `api_key` or `access_token`
Details are:
Example: Time is mentioned in the below log:
2019-05-22 10:57:09 ERROR BuyStocks:1357 - kite exception in placeSellOrder in Buystocks class -->Couldn't find that `order_id`.
2019-05-22 10:57:10 ERROR BuyStocks:1357 - kite exception in placeSellOrder in Buystocks class -->Couldn't find that `order_id`.

2019-05-22 10:57:07 ERROR BuyStocks:1357 - kite exception in placeSellOrder in Buystocks class -->Invalid `api_key` or `access_token`.
This discussion has been closed.