.NET - Google Drive REST API v3中的错误 - 导出旧电子表格

时间:2016-01-12 23:33:19

标签: google-drive-api

我正在尝试使用Drive REST API(v3)从Google云端硬盘下载/导出文档。这些文件包括一些无法导出的电子表格。

我正在使用DriveService.Files.Export(fileId,mimetype)方法尝试将这些Google电子表格导出为Excel文件(mimetype =“application / vnd.openxmlformats-officedocument.spreadsheetml.sheet”)。

错误信息:

  

Google.Apis.Requests.RequestError   内部错误[500]   错误[           消息[内部错误]位置[ - ]原因[internalError]域[全局]   ]

     

位于C:\ Users \ mdril \ Documents \ GitHub \ google-api-dotnet-client \ Src \ GoogleApis \ Apis [Media] \ Download \ MediaDownloader中的Google.Apis.Download.MediaDownloader.d__17.MoveNext()。 cs:第214行

仔细调查抛出错误的文件后,所有这些文件都显示为较旧格式的电子表格(通过包含'/ spreadsheet / ccc?key = [fileId]'的Google文档网址进行访问)

该消息似乎表明问题存在于API中。任何人都可以证实这一点,并建议是否应该提出这个问题吗?

干杯, nibrox

0 个答案:

没有答案