cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Find out how Tiffany, a Customer Experience superstar uses Dropbox to keep her family in the loop when it comes to her new baby here!

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dropbox API check test connectivity

Dropbox API check test connectivity

Michal5
Explorer | Level 4

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.

1 Accepted Solution

Accepted Solutions

Re: Dropbox API check test connectivity

Greg-DB
Dropboxer

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. 

View solution in original post

4 Replies 4

Re: Dropbox API check test connectivity

Greg-DB
Dropboxer

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. 

View solution in original post

Re: Dropbox API check test connectivity

Michal5
Explorer | Level 4

Thank for now I used 

client.files().listFolder("")

and it works for full and app permission 😉

Re: Dropbox API check test connectivity

Greg-DB
Dropboxer

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! 

Re: Dropbox API check test connectivity

Michal5
Explorer | Level 4

That's amazing. Thanks for your good news.

Who's talking

Top contributors to this post

  • User avatar
    Michal5 Explorer | Level 4
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?