cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Re: Dropbox API Integration with my project

Dropbox API Integration with my project

FugetronDolphin
Helpful | Level 6
Go to solution

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, 

3 Accepted Solutions

Accepted Solutions

DBX_Robert
Dropbox Staff
Go to solution

Is there a specific item you need help with?

If you're looking for general advice on how to get started writing an integration, plese check out our Getting Started guide on the https://dropbox.com/developers site.

View solution in original post

FugetronDolphin
Helpful | Level 6
Go to solution
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

View solution in original post

DBX_Robert
Dropbox Staff
Go to solution

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.

View solution in original post

4 Replies 4

DBX_Robert
Dropbox Staff
Go to solution

Is there a specific item you need help with?

If you're looking for general advice on how to get started writing an integration, plese check out our Getting Started guide on the https://dropbox.com/developers site.

FugetronDolphin
Helpful | Level 6
Go to solution

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
Helpful | Level 6
Go to solution
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
Dropbox Staff
Go to solution

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.

Need more support?