Hello,
I am using the javascript sdk and using dbx.filesUpload multiple times to upload multiple files, but I am getting too many requests error. How can I upload multiple files without running in to this error? Below is my error:
{
error: {
error_summary: 'too_many_requests/..',
error: { reason: [Object], retry_after: 15 }
},
response: Body {
url: 'https://content.dropboxapi.com/2/files/upload',
status: 429,
statusText: 'Too Many Requests',
headers: Headers { _headers: [Object] },
ok: false,
body: PassThrough {
_readableState: [ReadableState],
readable: false,
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
_writableState: [WritableState],
writable: false,
allowHalfOpen: true,
_transformState: [Object],
[Symbol(kCapture)]: false
},
bodyUsed: true,
size: 0,
timeout: 0,
_raw: [
<Buffer 7b 22 65 72 72 6f 72 5f 73 75 6d 6d 61 72 79 22 3a 20 22 74 6f 6f 5f 6d 61 6e 79 5f 72 65 71 75 65 73 74 73 2f 2e 2e 22 2c 20 22 65 72 72 6f 72 22 3a ... 62 more bytes>
],
_abort: false,
_bytes: 112
},
status: 429
}
Thanks