@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.
Latest posts made by suyogpatil
-
RE: Something Went Wrong, Please Try After Sometime","errorcode":"AB1004" For Historical API
-
RE: Something Went Wrong, Please Try After Sometime","errorcode":"AB1004" For Historical API
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
-
Issue with Candle Data API – Error Code AB1004
Dear Team,
I am using a direct axios in javascript to fetch candle data for multiple symbols as part of a daily backfill process. While making requests within the documented rate limit (3 requests per second), I frequently encounter the following error:
CopyEdit
{
message: "Something Went Wrong, Please Try After Sometime",
errorcode: "AB1004",
status: false,
data: null
}
This issue typically occurs when fetching data for multiple symbols or frequent request say every 1or 5 mins. Notably, even after retrying failed requests after a delay, the same error persists.Could you please help investigate the cause and suggest any recommendations or adjustments needed from our end to ensure stable data retrieval?
Can you check Please
-
RE: API down
@admin
File "C:\Anaconda\lib\site-packages\smartapi\smartConnect.py", line 191, in _request
raise ex.DataException("Couldn't parse the JSON response received from the server: {content}".format(
smartapi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b'<!doctype html><html lang="en"><head><title>HTTP Status 500 \xe2\x80\x93 Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 \xe2\x80\x93 Internal Server Error</h1></body></html>'