please skip part two of my post!
The internal error is a result of the failed upload!
It's not a wrong response, my application didn't handle this properly due to a casting mistake!
Part 1 of this post is still valid!
Regards,
Dennis Fischer.
Am Dienstag, 6. März 2012 17:49:11 UTC+1 schrieb Dennis Fischer:
Hi all,--
today someone commited a failed upload with my application.
I received the automatically created logfiles and searched for the error.
Well, the information aren't really useful:
The log shows status code 400 during upload (bad request). (applog.log)At the same time the application is showing an exception (error.log)2012-03-05 17:15:01 UploadWorker [WARN] Unexpected return code : 400 while uploading :http://uploads.gdata.youtube.com/resumable/feeds/api/users/ default/uploads?upload_id= xxxxxx com.google.gdata.util.ServiceException : Internal Error
<errors xmlns='http://schemas.google.com/g/2005 '><error><domain>GData </domain><code>ServiceException</ code><internalReason >Internal Error</internalReason></error></ errors>
at com.google.gdata.client.http.HttpGDataRequest .handleErrorResponse (HttpGDataRequest.java:624 )
at com.google.gdata.client.http.GoogleGDataRequest .handleErrorResponse (GoogleGDataRequest.java :563)
at com.google.gdata.client.http.HttpGDataRequest .checkResponse(HttpGDataRequest .java:552)
at com.google.gdata.client.http.HttpGDataRequest .execute(HttpGDataRequest .java:530)
at com.google.gdata.client.http.GoogleGDataRequest .execute(GoogleGDataRequest .java:535)
at com.google.gdata.client.Service .insert(Service.java:1409)
at com.google.gdata.client.GoogleService .insert(GoogleService.java :599)
at com.google.gdata.client.media.MediaService .insert(MediaService .java:381)
at org.chaosfisch.youtubeuploader. services.PlaylistServiceImpl.addLatestVideoToPlaylist (PlaylistServiceImpl .java:204)
at coreplugin.uploader.worker.UploadWorker .background(UploadWorker .java:118)
at org.chaosfisch.util.BetterSwingWorker .doInBackground(BetterSwingWorker .java:37)
at org.chaosfisch.util.BetterSwingWorker .doInBackground(BetterSwingWorker .java:32)
at javax.swing.SwingWorker$1.call( Unknown Source)
at java.util.concurrent.FutureTask$Sync .innerRun(Unknown Source)
at java.util.concurrent.FutureTask .run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter .call(Unknown Source)
at java.util.concurrent.FutureTask$Sync .innerRun(Unknown Source)
at java.util.concurrent.FutureTask .run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker .runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker .run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Sorry but something is definitly going wrong here!!
Refernce Guide + Dev. Guide aren't giving any information to this.
Can someone give me any information on this?
The Upload was at ca 98% when receiving this exception.
Regards,
Dennis Fischer
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/hvsFQeDmIAAJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment