API Connection Error

Chandra1977
Dear All,
I am getting beliw Error can you let us know how rectify this one to connect algo
"status": "error",
"message": "Invalid or expired connect session. Try re-initiating login.",
"data": null,
"error_type": "InputException"
Tagged:
  • salim_chisty
    A request token is valid for 5 minutes and can be used only once. To generate the access token, you need to extract the request token from the redirect URL and use it to create the session.

    Please note that the access token is valid for one trading day and can be used for all API requests during that period. It is recommended not to generate a new access token for every run. Once generated, you should store the access token securely (e.g., in a file or application preferences) and reuse it until it expires.

    We recommend following the login flow as outlined in the Kite Connect API documentation. Additionally, you can refer to this webinar for a detailed walkthrough.
Sign In or Register to comment.