TooManyRequests error


I implemented a Powershell code to get count of endpoints in each tenant using Sophos Central API. The code works one time per day.

Before each HTTP request to * my code waits a minute in order to avoid "TooManyRequests" error (the "Start-Sleep -s 60" Powershell command)

But I still receive the error, e.g:

{ "error": "TooManyRequests", "correlationId": "152830cb-7744-42ee-8105-3fde2dc84052", "requestId": "37df488f-5386-43e4-b777-efa2d89a3d9e" }

The error occurs only on "" host and does not occur on ""

Please help me understand how to avoid this error?

Parents Reply Children
No Data