It looks like you're new here. If you want to get involved, click one of these buttons!
curl -X GET https://api.kite.trade/portfolio/holdings -H 'Authorization: token <API key>:<API secret>' -H 'X-Kite-Version: 3'
All the steps look correct to me however I'm getting the following error:
{
"status": "error",
"message": "Incorrect `api_key` or `access_token`.",
"data": null,
"error_type": "TokenException"
}
I regenerated the `API secret` 3 times from the app details console.
Use the above link to log into your account, after which you should be getting a request as part of the link it's redirected to. Use that token to generate a session. Using the equivalent of this call in your language of choice
kite.generate_session(request_token=request_token, api_secret=secret_api_key)
This should give you the access token