GetCandleData API randomly returns 403
-
Request:
{"exchange":"NSE","symboltoken":"20374","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-19 11:01","todate":"2021-07-19 11:45"}Response:
{"status":403,"message":""}This is not happening all the time, But occurs 20 - 30 times randomly in a day.
-
HI @Madhusree we have reported this to the team.
-
HI @Madhusree said in GetCandleData API randomly returns 403:
Request:
{"exchange":"NSE","symboltoken":"20374","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-19 11:01","todate":"2021-07-19 11:45"}
Response:
{"status":403,"message":""}
This is not happening all the time, But occurs 20 - 30 times randomly in a day.this is happening as you are breaching the maximum request limit kindly check the documentation.
-
In my todays (27/07/2021) log, I noticed getCandleData method returns some weird errors more than 50 times.
Error 1:
Sample Request:
{"exchange":"NSE","symboltoken":"694","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-27 09:46","todate":"2021-07-27 10:15"}Response:
{"status":500,"message":"Internal Server Error"}Error 2:
Sample Request:
{"exchange":"NSE","symboltoken":"20374","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-27 09:50","todate":"2021-07-27 10:19"}Response:
TypeError: Cannot read property 'status' of undefined -
HI @Madhusree We have reported this to the team we are evaluating the options we will update you soon.
-
@admin Any update on above issue?
-
HI @Madhusree we will analyze and update you.
-
@admin
Client ID: M436859 -
HI @Madhusree ok we have noted this we will try to evaluate kindly provide your client id.