We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
tdgvrr
6 years agoExplorer | Level 3
Performance of Dropbox getCurrentAccount
I'm running one of the Dropbox samples and getting very slow (>30 seconds) response on a call to getCurrentAccount().
The code looks like this:
... DbxRequestConfig config = new DbxReq...
Greg-DB
Dropbox Community Moderator
6 years agoThanks for the report. This isn't occurring for me, so we'll need to narrow this down. Can you let me know:
- Is this only occurring when retrieving the information for one account in particular, or does it also happen for other accounts?
- Is this occurring for other methods as well?
tdgvrr
6 years agoExplorer | Level 3
We've tried three accounts - all seem to perform about the same (all are "PRO" accounts, if that matters).
A few other details that might help:
- This is a command-line tool - we authenticate with a access token we generated on the website.
- All of the other methods seem to run fine....in the snippet I sent, from program start to the getCurrentAccount call runs in about two seconds - then getCurrentAccount consistently runs from 20-40 seconds.
- This is running on a small but dedicated server with a Gigabit connection - nothing else we do is slow over the network.
- The results are repeatable...it's not like it just randomly occurs.
- We're using Java 1.8 (161).
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!