Script was working very well till now but it is started failing. Can you please help here?
Below is the error I’m receiving,
"E:\DynaTrace\Scipt.py", line 98, in <module><br> response = restApiGet(domain+"api/v1/synthetic/monitors?tag="+tag+"&Api-Token="+apiToken)<br> File "E:\DynaTrace\Script.py", line 15, in restApiGet<br> if int(response.headers['X-RateLimit-Remaining']) == 0:<br> File "C:\Program Files\Python39\lib\site-packages\requests\structures.py", line 54, in __getitem__<br> return self._store[key.lower()][1]<br>KeyError: 'x-ratelimit-remaining'<br>waiting for 5 seconds<br>Reading contents of Error.log file
Is it the case that dynatrace API are not passing/using x-ratelimit-remaining header is now?
Regards,
AK