Youtube API错误请求400
希望有人在这方面有一些经验,因为已经没有办法解决最新情况。
我的问题是,当我尝试通过api将视频上传到youtube时,为什么我收到错误请求400错误。我正在使用.net库,可以在本地成功上传但不能远程登录我的托管在discountasp。以下是我收到的错误消息,但您可以告诉它没有太多信息
远程服务器返回错误:
(400)不良请求。
[WebException:远程服务器
返回错误:(400)错误请求。]
System.Net.HttpWebRequest.GetResponse()
+6038435 Google.GData.Client.GDataRequest.Execute()
+ 85
[GDataRequestException:执行
请求失败:
http://uploads.gdata.youtube.com/feeds/api/users/default/uploads]
Google.GData.Client.GDataRequest.Execute()
+228 Google.GData.Client.GDataGAuthRequest.Execute(Int32
retryCounter)+487
Google.GData.Client.GDataGAuthRequest.Execute(的Int32
retryCounter)+523
Google.GData.Client.GDataGAuthRequest.Execute(的Int32
retryCounter)+523
Google.GData.Client.GDataGAuthRequest.Execute(的Int32
retryCounter)+523
Google.GData.Client.GDataGAuthRequest.Execute()
+10 Google.GData.Client.MediaService.EntrySend(Uri
feedUri,AtomBase baseEntry,
GDataRequestType类型,AsyncSendData
数据)+541
Google.GData.Client.Service.Insert(URI
feedUri,AtomEntry newEntry,
AsyncSendData数据)+88
Google.GData.Client.Service.Insert(URI
feedUri,TEntry entry)+58
Google.GData.YouTube.YouTubeService.Upload(字符串
userName,YouTubeEntry条目)+98
没有找到相关结果
已邀请:
1 个回复
勺的驴吓识