oTAMAKOo / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Execution of request failed: http://gdata.youtube.com/action/GetUploadToken #461

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am trying to upload a video to youtube via my website(local host) but I keep
getting the error "Execution of request failed:
http://gdata.youtube.com/action/GetUploadToken".

Code I am using is:

myservice = new YouTubeService("My Application", strdeveloperKey);
        myservice.setUserCredentials("username", "password");

YouTubeEntry objYouTube = new YouTubeEntry();
        objYouTube.Media = new Google.GData.YouTube.MediaGroup();
        objYouTube.Media.Title = new MediaTitle("Test");
        objYouTube.Media.Categories.Add(new MediaCategory("TEst",YouTubeNameTable.CategorySchema));
        objYouTube.Media.Keywords = new MediaKeywords("test");
        objYouTube.Media.Description = new MediaDescription("TEst from Web app");
        objYouTube.Private = false;
        FormUploadToken token = myservice.FormUpload(objYouTube); // error line
        Session["Form_upload_Url"] = token.Url;
        Session["From_upload_Token"] = token.Token;

Please help me on this issue,
Thanks,
Arun Masta

Original issue reported on code.google.com by arunma...@gmail.com on 21 Dec 2010 at 10:40

GoogleCodeExporter commented 8 years ago
If this is still happening with version 1.8 of the client library, please 
capture the HTTP traffic using Fiddler and share the capture here.
Thanks

Claudio

Original comment by ccherub...@google.com on 29 Jul 2011 at 10:14

GoogleCodeExporter commented 8 years ago

Original comment by ccherub...@google.com on 2 Aug 2011 at 10:53