500 内部服务器错误 v3 上传 API:GoogleJsonResponseException
在使用 Java 的 Youtube API 示例将文件上传到 youtube 时,我得到了这个:
While using Youtube API samples for Java for uploading a file to youtube, I get this:
行错误:Video returnedVideo = videoInsert.execute();
com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error
{
"code" : 500,
"message" : null
}
at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:423)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
at com.omp.util.YoutubeUtil.uploadVideo(YoutubeUtil.java:141)
此处已提出相关问题: https://code.google.com/p/gdata-issues/issues/detail?id=6352
推荐答案
一两天后自动解决!绝对是 API 问题.
Resolved automatically after a day or two! Definitely an API problem.
相关文章