Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3638

Youtube API Bad Request 400

$
0
0

Hopefully someone has some experience in this area as have run out of avenues to work out whats going on.

My question is why am I getting a bad request 400 error when trying to upload a video to YouTube via the API. I'm using the .net library and can successfully upload locally but not remotely on my hosting at discountasp. The following is the error message I receive but as you can tell it doesn't hold much information

The remote server returned an error:(400) Bad Request.

[WebException: The remote serverreturned an error: (400) Bad Request.]System.Net.HttpWebRequest.GetResponse()+6038435 Google.GData.Client.GDataRequest.Execute()+85

[GDataRequestException: Execution ofrequest failed:http://uploads.gdata.youtube.com/feeds/api/users/default/uploads]Google.GData.Client.GDataRequest.Execute()+228 Google.GData.Client.GDataGAuthRequest.Execute(Int32retryCounter) +487
Google.GData.Client.GDataGAuthRequest.Execute(Int32retryCounter) +523
Google.GData.Client.GDataGAuthRequest.Execute(Int32retryCounter) +523
Google.GData.Client.GDataGAuthRequest.Execute(Int32retryCounter) +523
Google.GData.Client.GDataGAuthRequest.Execute()+10 Google.GData.Client.MediaService.EntrySend(UrifeedUri, AtomBase baseEntry,GDataRequestType type, AsyncSendDatadata) +541
Google.GData.Client.Service.Insert(UrifeedUri, AtomEntry newEntry,AsyncSendData data) +88
Google.GData.Client.Service.Insert(UrifeedUri, TEntry entry) +58
Google.GData.YouTube.YouTubeService.Upload(StringuserName, YouTubeEntry entry) +98


Viewing all articles
Browse latest Browse all 3638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>