Hi!
We have designed a workflow application that relies heavily on the fine file handling capabilities of Dropbox. Basically we have a server side application that moves files(high grade images in this case) from one location to another in our Dropbox account. To accomplish this we have set up an app in the app console and generated an OAuth token. We use this token when making batch(move/copy) operation requests to the Dropbox API using its Java SDK.
Currently we have been processing hundreds of folders each containing 10-12 high quality images (2-5 MB). The system works fine most of the time. But recently, we have been facing some frequent issues with the Dropbox API citing internal error and too many write requests. I assume since we are using a single token to make requests to Dropbox, it results in a lot of activity in a single user account. This is resulting in such issues.
One solution that we are currently working on is on reducing the number of entries in a single batch move or copy request. But this will result in increase in the number of batch operations we submit to Dropbox (thinking about the API rate limits).
Is there some better strategy to integrate with Dropbox API for our workflow scenario?
I understand it is more of a system design query, but any help would be deeply appreciated.
Thanks.