You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
sanjeev_hansanur1
3 years agoExplorer | Level 4
How to implement testConnection method for dropbox instance
we want to implement method for testConnection(), before start anything on dropbox we want check connection is happening or not.
Basically we want to implement testConnection in java, please help us with way or step to check connection or get connection
- Greg-DBDropbox Staff
Dropbox doesn't offer a specific mechanism for testing the API exactly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
If you want to check that your app has the ability to make API calls though, you can technically use any endpoint that the app/access token is allowed to call to see if the call fails or not, but /2/check/user or /2/users/get_current_account in particular are good options for this, since they don't have any side effects. Those are DbxUserCheckRequests.user and DbxUserUsersRequests.getCurrentAccount, respectively, in the Dropbox Java SDK.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days agoIf 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 or Facebook.
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!