i have explicitly asked for V3 in my request as I am using conn.setRequestProperty("X-Kite-version", "3"); so it seems i am using V3 but still getting this error.
see, I am using custom implementation. The implementation is absolutely correct. it was working for last few months , till last weekend( since last weekend i had not used it till yesterday night. )So implementation is surely not a problem. Yesterday my subscription had expired and then i extended it in the night but after extending the subscription (by paying 2k), its not working. I am not sure why. The exact same codebase was in use for last few months. Also, now i am explicitly mentioning v3 should be used, as shown in https://kite.trade/docs/connect/v3/#version-and-api-endpoint but still i am getting this problem. Please advice.
You need to provide more information. We can only help you if give specific details. https://api.kite.trade is a Kite Connect API's base URL. It is not a valid API endpoint.
Enable debug logs and give the complete request and error response.
Please ask if you need any further information. I think from this URL you should make out a couple of things: 1. log in is done and i have access_token. 2. This is coming while getting candle data.
Can you private message your api_key? Please don't mention app specific tokens on the public threads. You can private message if you have to mention that. You need an active add-on subscription to use historical data API. Have you subscribed for the same from the developers console?
The historical data API provided is only for backtesting purpose. For live stratergies, you can generate candles at your end using the live market data provided via websockets. You can get started from here.
I have also added the following information to my connection object : conn.setRequestProperty("X-Kite-version", "3"); conn.setRequestProperty("Authorization", "token "+apiKey+":"+accessToken); to ensure version 3 is being called.
https://api.kite.trade is a Kite Connect API's base URL. It is not a valid API endpoint.
Enable debug logs and give the complete request and error response.
Please ask if you need any further information. I think from this URL you should make out a couple of things:
1. log in is done and i have access_token.
2. This is coming while getting candle data.
Please don't mention app specific tokens on the public threads. You can private message if you have to mention that.
You need an active add-on subscription to use historical data API. Have you subscribed for the same from the developers console?
You can get started from here.
I have also added the following information to my connection object : conn.setRequestProperty("X-Kite-version", "3");
conn.setRequestProperty("Authorization", "token "+apiKey+":"+accessToken);
to ensure version 3 is being called.
Please advice.