Google Drive permissions changing script generates "rate limit exceeded" errors even after quota increase
Google Drive API limit on queries per 100 seconds per user was increased from 1,000 to 10,000. This has not stopped all of the "rate limit exceeded" errors.
The 105s delay between batch request can be removed as it doesn't reduce the frequency of these errors.
Limit for batch requests stated as 100 in the Google Drive batch API documentation, so reduce the limit used in the script from 900 to 100. This appeared more successful at avoiding errors in local tests.
Query existing drive permissions using batch requests rather than many individual tests, and remove repeated duplicate requests. This should help reduce the chance of encountering these errors.