Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Insufficient data written #780

Open
GoogleCodeExporter opened this issue May 11, 2015 · 2 comments
Open

Issue Insufficient data written #780

GoogleCodeExporter opened this issue May 11, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Which Google API and version (e.g. Google Calendar API version 3)?


Java environment (e.g. Java 6, Android 2.3, App Engine)?


External references, such as API reference guide?


Please provide any additional information below.

Hi Team,
we are updated google api to 1.15.0-rc, but we are still getting insufficient 
data written error: what could be the most appropriate chunk size for uploading 
file.
Error:

java.io.IOException: insufficient data written
    at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.close(Unknown Source)
    at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:81)
    at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:960)
    at com.google.api.client.googleapis.media.MediaHttpUploader.executeCurrentRequest(MediaHttpUploader.java:482)
    at com.google.api.client.googleapis.media.MediaHttpUploader.upload(MediaHttpUploader.java:390)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:418)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
    at WebShortCut.Application.GoogleDrive.GoogleDriveService.uploadFile(GoogleDriveService.java:421)
    at WebShortCut.Application.GoogleDrive.GoogleDriveService.saveFileToDrive(GoogleDriveService.java:142)
    at WebShortCut.Application.GoogleDrive.WebShortCutApp.qUploadFile(WebShortCutApp.java:537)
    at WebShortCut.test.FileUploadTest$RequestFileUpload.run(FileUploadTest.java:75)
    at java.lang.Thread.run(Unknown Source)


Original issue reported on code.google.com by satish.d...@gmail.com on 16 May 2013 at 10:00

@GoogleCodeExporter
Copy link
Author

can you let me anyone answers

Original comment by satish.d...@gmail.com on 16 May 2013 at 11:44

@GoogleCodeExporter
Copy link
Author

Hi Can i resume uploads if in between stuck uploading... how give me pls any 
idea 

Original comment by satish.d...@gmail.com on 16 May 2013 at 12:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant