OpenApi-5p / py5paisa

Official Python SDK for 5paisa APIs natively written in VB .NET
https://5paisa.github.io
86 stars 64 forks source link

Error 'NoneType' object is not subscriptable #206

Open paleri97 opened 1 year ago

paleri97 commented 1 year ago

Description

Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.

Checking LTP and option chain reading through Linux service, it works perfectly for sometime and after some time below error comes 10:55:29 | 'body' 10:55:29 | 'NoneType' object is not subscriptable

Then the issue resolves the next day . Thats what I observed

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

client.login() 10:55:29 | 'body' 10:55:29 | 'NoneType' object is not subscriptable client.login() 10:57:54 | 'body' 10:57:54 | 'NoneType' object is not subscriptable exit

paleri97 commented 1 year ago

Is there any daily limit? It seems the issue starts getting after 600/700 calls in an hour As per documentation 600 is the limit per minute, so this shouldn't happens.