I'm using this in chrome extension.
Simple request with file ID will delete single file
xhr.open('DELETE', 'https://www.googleapis.com/drive/v2/files/' + ID, true);
If I want to delete multiple files from Google Drive, I'm looping trough ID's array and sending the same request, just multiple times.
Most of those requests succeed, but if I have more than 7-8, some of the request fail with error code 403
(I think that stand for forbidden).
Usually if I have 12 files to delete, two or three will fail.
(when I repeat requests, they are deleted)
Does Google Drive have some protection from throttling, and how do I delete multiple files?...
delaying with timers (eg. 100 ms) is not desirable, because I could have hundreds of files to delete, and it would take 10-30 seconds to process it
REST Drive API doc's doesn't say anything about deleting multiple files, only single