We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

FugetronDolphin's avatar
FugetronDolphin
Helpful | Level 6
6 years ago

Dropbox API Integration with my project

Hi,
I need help for integrating dropbox on my website.
Here my plane
1. After Login In My Website
2. My customer See There a Choose File button
3. and when Customer Are Upload file.
4. This all file are store on my Server with my customer Name folder
5. dropbox will automatically create a folder for each customer when 
    the customer will try to upload on my website.

 

Thank you in Advance, 

  • FugetronDolphin's avatar
    FugetronDolphin
    6 years ago
    my issues is resolved here just updating my dropbox sdk I was use older version. After updating and rexecution of my program is working for me
  • DBX_Robert's avatar
    DBX_Robert
    6 years ago

    Looks like you were previously using our API v1 SDK.  You'll definitely want to upgrade to V2, which sounds like you did and it rsolved your errors.

    • FugetronDolphin's avatar
      FugetronDolphin
      Helpful | Level 6

      Hey Robert,

      thank you for guiding me, I now start working to integrate my web Application with Dropbox I am getting App_Key and App_Secret 

      I am getting some exception: pfb

       

      Exception in thread "main" com.dropbox.core.NetworkIOException: cannot write to a URLConnection if doOutput=false - call setDoOutput(true)
      at com.dropbox.core.DbxRequestUtil.startGet(DbxRequestUtil.java:193)
      at com.dropbox.core.DbxRequestUtil$1.run(DbxRequestUtil.java:432)
      at com.dropbox.core.DbxRequestUtil.runAndRetry(DbxRequestUtil.java:517)
      at com.dropbox.core.DbxRequestUtil.doGet(DbxRequestUtil.java:429)
      at com.dropbox.core.v1.DbxClientV1.doGet(DbxClientV1.java:2219)
      at com.dropbox.core.v1.DbxClientV1.getAccountInfo(DbxClientV1.java:355)
      at JavaDropbox.main(JavaDropbox.java:33)
      Caused by: java.net.ProtocolException: cannot write to a URLConnection if doOutput=false - call setDoOutput(true)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at java.net.HttpURLConnection.getResponseCode(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
      at com.dropbox.core.http.StandardHttpRequestor.toResponse(StandardHttpRequestor.java:50)
      at com.dropbox.core.http.StandardHttpRequestor.doGet(StandardHttpRequestor.java:66)
      at com.dropbox.core.DbxRequestUtil.startGet(DbxRequestUtil.java:190)
      ... 6 more

       I am using Dropbox core sdk 3.0.10 version

      please help me in resolving this issue

      Thank you In Advance

      • FugetronDolphin's avatar
        FugetronDolphin
        Helpful | Level 6
        my issues is resolved here just updating my dropbox sdk I was use older version. After updating and rexecution of my program is working for me

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
325 Following

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 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!