9/17/2013 3:04 PM Error: Google.GoogleApiRequestException: Google.Apis.Requests.RequestError
Internal Error [500]
Errors [
Message[Internal Error] Location[ - ] Reason[internalError] Domain[global]
]
at Google.Apis.Requests.Request.AsyncRequestResult.GetResponse()
at Google.Apis.Requests.ClientServiceRequest`1.GetResponse()
at Google.Apis.Requests.ClientServiceRequest`1.Fetch()
我尝试下载15GB的文件,每个文件大小为2MB,页面大小为100。下载1500个文件后,出现上述错误。这是API中的错误吗?请帮忙。 注意:我正在正确地恢复 token 。
最佳答案
API 文档 suggests implementing an exponential backoff响应 500 内部错误。
这是一个例子 retry helper class你可以使用。
关于c# - Google Drive api 在列出和下载大量文件时返回 500 内部错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18846892/