the problem has returned 😞 every so often getting 429 errors and when I check the summary I see this "429": 1307, So two things - one, when it gets a 429, it is clearly re-trying over thousand times in tiny time frame - not sure I am using these variable properly wait_on_rate_limit=True, maximum_retries=100 Am I supposed to pass them as part of the API headers or something? Secondly, I must still be doing something to trigger the 429 rate limit in the first place. The limit is 5 requests per second I think? After each and every request call I have put in a 0.3 second delay which should mean I cant be sending more than 4 a second so how is this happening? To produce the delay I am using the time module and setting a global variable of DELAY = 0.3 then after every request putting the line time.sleep(DELAY) networks = requests.get(networks_url, headers=headers, verify=f"{root_path}/Cisco Umbrella Root CA.crt") time.sleep(DELAY)
... View more