I am running in debug mode with logfiles and every day I get this above error way before the limits I see posted on the website (10000 calls/day and 5GB/day).
1. Calls are only counted when making a new request not checking for responses
Currently I use the following command to check the amount of data calls data.
grep 'Request to http://127.0.0.1:9000/api/v1/data' pyeikon.20211114* | wc -l
Please let me know if I should use a different search pattern for getting the 'correct' amount of data calls.
2. Size of debug log files is strictly greater then data transferred (or counted by your server side script)
Since I run in debug mode and both the request and response json are dumped into the logfile I assume that the size of the logfiles has to be strictly greater then the server side data size counter.
According to these counters I seems to be running into the error way before the 10000 calls/day or 5GB/day daily limits.
Please let me know, if there is a better/canonical way to check our call / data consumption behaviour on the client side.
Once I have the best way to check my behaviour on the client side I will update this post with stats for the next few days.
For requests per second this can be mitigated by adding a small sleep interval per iteration (if you are making requests iteratively which I assume you are.
import time time.sleep(0.1)
Further guidance is given in the document link above. I hope this can help.