The error message indicates that your request token might have expired. A request token, however, is valid for only a few minutes and can be used just once. To resolve this, you need to fetch a new request token and exchange it for an access token. Please note that the exchange mandates that traders log in manually at least once a day, and we do not recommend automating the login process.
Here are the key details: - Access tokens are flushed daily at 7:30 AM, and new tokens are generated at 7:35 AM. - Ensure you generate the access token after 7:35 AM on the same trading day. The token will remain valid throughout the day unless you log out.
Additionally, please follow the login flow as outlined in the Kite Connect API documentation. For further guidance, you can refer to this webinar.
Please note that the exchange mandates that traders log in manually at least once a day, and we do not recommend automating the login process.
Here are the key details:
- Access tokens are flushed daily at 7:30 AM, and new tokens are generated at 7:35 AM.
- Ensure you generate the access token after 7:35 AM on the same trading day. The token will remain valid throughout the day unless you log out.
Additionally, please follow the login flow as outlined in the Kite Connect API documentation. For further guidance, you can refer to this webinar.