I am getting below error while uploading videos through API. Please advise 
a fix.

com.google.gdata.util.ServiceException: Internal Server Error
Unable to store upload data for asynchronous uploading.

at 
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:632)
at 
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:564)
at 
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:560)
at 
com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:538)
at 
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:536)
at com.google.gdata.client.media.MediaService.insert(MediaService.java:399)
at oneflipkart.Test.callVideoUploadService(Test.java:113)
at oneflipkart.Test.main(Test.java:49)


Used the code given at the API documentation link 
: https://developers.google.com/picasa-web/docs/3.0/developers_guide_java


URL albumPostUrl = new 
URL("https://picasaweb.google.com/data/feed/api/user/*username*/albumid/*albumid*";);

PhotoEntry myVideo = new PhotoEntry();
myVideo.setTitle(new PlainTextConstruct("birthday.mov"));
myVideo.setDescription(new PlainTextConstruct("My grandpa's 80th birthday."));
myVideo.setClient("myClientName");

MediaFileSource myMedia = new MediaFileSource(new 
File("/home/liz/birthday.mov"), "video/quicktime");
myVideo.setMediaSource(myMedia);

PhotoEntry returnedVideo = myService.insert(albumPostUrl, myVideo);

// Fetching the video status (will always be "pending" right after posting a 
video).
String videoStatus = returnedVideo.getVideoStatus();



On Tuesday, 16 August 2011 17:08:52 UTC+5:30, zaARTix wrote:
>
> Upload through api (from different accounts) - videos infinitly 
> pending... 
> Upload same files through browser (picasaweb) - all ok, pending about 
> 2 min and finishes. 
>
> Seems this problem started at 10.08.2011, 9.08.2011 and earlier all 
> uploaded videos in status finished.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to