Something Went Wrong, Please Try After Sometime","errorcode":"AB1004" For Historical API
-
Whenever I made a call to historical api, I received this message.
{"message":"Something Went Wrong, Please Try After Sometime","errorcode":"AB1004","status":false,"data":null}
Im running automation with request 1sec delay, even after rotating the key, I couldn't get the data. Kindly check it.
Also this message doesn't give any idea, what went exactly wrong. Giving that explanation will also helps here
Broker ID: A1208575
-
@administrators Kindly help here
-
@administrators kindly help here.
-
I had same issue they told to increase the interval for fetching. still it not working for me.
reply
Hello ****,
I hope everything is going well for you.
Your current loop sends 1 request per second, which is fine (below the 3 req/sec limit),
but if you run multiple scripts / symbols under the same client code, you can easily exceed the limit cumulatively.Loop through your 100 symbols in batches of 3, add a 1- 2 second delay between each batch, so you stay under 2 requests/sec and avoid throttling errors.
If any request fails (rate limit or transient error), queue it for retry after a short delay.
Hopefully, this will resolve your issue if you have any further questions, please get in touch with us.
@administrators check it is the issue here
-
@administrators it is rate limit please send proper error code 429 for it.. and also as per documentation it in permissible rate limit. please give more explanation to it in documentation.