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
Michal5
5 years agoExplorer | Level 4
Dropbox API check test connectivity
Hi,
I am using dropbox-sdk-java and Using method to check connectivity to Dropbox in this way
DbxRequestConfig config = new DbxRequestConfig("my-app"); DbxClientV2 client = new DbxClientV2(config, "my_token"); client.check().user("test").getResult();
If I have the full permission (whole dropbox) test is working fine as it should but when I create "App Folder" permission it does not work and it gave me this error:
com.dropbox.core.BadRequestException: Error in call to API function "check/user": Your API app is an "App Folder" app. It is not allowed to access this API function.
which means that for "App Folder" permission I cannot call the test connectivity. My question is why ? I just want to make test connectivity to dropbox and it does not what permission I have. It is bug or this is how it is supposted to be?
I see in Check app that this endpoint does not support apps with the app folder permission but I why it is a problem with this kind of permission.
Thank you for your answer.
That's correct, this API endpoint does not currently support apps with the app folder permission. I can't speak to why any particular feature was or wasn't implemented, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- Greg-DBDropbox Staff
That's correct, this API endpoint does not currently support apps with the app folder permission. I can't speak to why any particular feature was or wasn't implemented, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- Michal5Explorer | Level 4
Thank for now I used
client.files().listFolder("")
and it works for full and app permission ;)
- Greg-DBDropbox Staff
Thanks for following up. I'm glad to hear you found a workaround. I was just about to follow up here with some good news actually. We were now able to implement and enable app folder app support for the check endpoints. That should be rolling out now, so you should be able to use the check().user method from your app folder app now. Hope this helps!
About Discuss Dropbox Developer & API
Make connections with other developers
797 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!