I currently have 2 apps setup(one for me and other my wife kite account) in my developer account and they use two separate api keys and secret.
I have setup a python client to get the access token based on the user/app and access_token is fetched as a proper response for each user(using api key/secret) and stored into a file(with user name tag).
However, when trying to place order the kite place_order api is not able to execute/place the trade with the provided api_key + access_token and responds with a exception message which has only user name in it.
Trying to place orders for both users and it responds with same error most times. After sometime(post multiple tries), all the orders gets placed as expected.
Not able to understand if there is any delay or ordering or any mechanism that needs to be followed to ensure place order is successful post successful access token fetch from the same python client for 2 apps.