Python SDK 'Access denied because of exceeding access rate'
-
Hi,
Getting this error since yesterday in the first hour of order execution. Yesterday after 10:15 automatically it worked.
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'Access denied because of exceeding access rate'Kindly let me know how to avoid this.
Regards,
Partha Mohapatra -
HI @subhu085 As discussed on the call your order got successfully executed.Have you activated any algo strategy from other providers.
-
@admin Hi Any update on the code review and the issue raised.
-
HI @subhu085 As discussed we will get back to you once we review your code.
-
@admin I have shared the code over email.
-
@admin Yes today again faced the issue.
-
HI @subhu085 Kindly update us if you are still facing the same issue.
-
Hi @subhu085 We have noted your client id also we want you to mail your piece of code at api@angelbroking.com .
-
@admin S803575 is the client id.
-
HI @subhu085 Post your client id here.
-
@admin Any update...the first access is again giving the same access rate issue.
-
@admin Still getting the same error
File "C:\Users\test\AppData\Local\Programs\Python\Python39\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'Access denied because of exceeding access rate' -
HI @subhu085 please try again and update us.
-
@admin Hi But it was my first access to API in the morning for login...I didn't do any continuous requests to the ANGEL API.
-
HI @subhu085 Kindly go through below doc.
https://smartapi.angelbroking.com/docs/RateLimit