dropbox / dropbox/dropbox-sdk-js

How to upload multiple files in bulk?

Open
#778 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
970
Forks
353
Avg merge
9h 3m
Merged PRs (30d)
2

Description

## What is your question?
I'm looking for a way to upload about 100 files at once in bulk.

## Versions
* **What version of the SDK are you using?**
`^10.7.0` (latest)

## Additional context
I'm currently having an array of about 100 files that I loop over every day.
In each loop, I fetch those files and upload the latest version to Dropbox using the `filesUpload` method.

I however have to retry uploading already quite fast because I get `429: Too Many Requests` errors.
Therefore I use the `retry_after` to set as the delay, but since I'm uploading that many files at once, I keep getting those errors.

All these files are smaller than the 150MB file size limit.

I would like to find a way to upload all these files in batch, without having to retry the upload all the time.

Thanks in advance for your help!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.