dropbox-sdk-js icon indicating copy to clipboard operation
dropbox-sdk-js copied to clipboard

Implement retry policy for some API calls

Open ponkin opened this issue 6 years ago • 1 comments

Some dropbox API calls may be rate-limited in certain conditions by responding with HTTP '429 Too Many Requests' (with header 'Retry-After: 1') May be we can set up some 'retry policy', to automatically handle such situation, for example: const dbx = new Dropbox({ accessToken: token, numberOfRetries: 10 });

default will be 0.

ponkin avatar Mar 18 '18 21:03 ponkin

Thanks for writing this up! I can't make any promises, but I'll send this request along to the team.

greg-db avatar Mar 19 '18 00:03 greg-db