Wednesday, March 7, 2012

[YouTube-API] Re: Uploadfailed due to internal error, but response code 400?

Hello Dennis,

I'd need more information to determine what the source of that HTTP
400 error response is. How reproducible is the issue? Could you
attempt to capture the full HTTP response message if it can be
reproduced—the response should contain an id that I could cross-
reference with our logs.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Mar 6, 11:49 am, Dennis Fischer <chaosking0...@googlemail.com>
wrote:
> 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)
> 2012-03-05 17:15:01 UploadWorker [WARN] Unexpected return code : 400 whileuploading
> :http:
> //uploads.gdata.youtube.com/resumable/feeds/api/users/default/uploads?uploa d_id=xxxxxx
>
> At the same time the application is showing an exception (error.log)
> 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 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