Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Michal5's avatar
Michal5
Explorer | Level 4
6 years ago
Solved

Status codes: Dropbox sdk java

Hi Dropbox team, Is there a possibility to acces status code in dropbox sdk java ? for example Check User "If you receive an HTTP 200 response with the supplied query" how can I access status cod...
  • Greg-DB's avatar
    6 years ago

    The official Dropbox SDKs don't return the actual status codes directly. They instead translate them to different exception types that you can catch natively.

    For example, in the Java SDK, the DbxUserCheckRequests.user method will return an EchoResult if the call is successful (i.e., a 200 status code), or raise an exception, such as DbxApiException or DbxException, if the call failed (e.g., a 4xx or 5xx status code).

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!