3

我正在使用 Microsoft Graph 调用将我的演示文稿转换为 pdf。通常它可以成功转换为一般演示文稿,但如果我的 ppt 大小很小(大约 1 MB)或包含一些高质量的图形图像,它就会失败。我收到以下回复:

{
"error":{
      "code": "notSupported",
      "message": "Error from Office Service. Url=https://pptcs.officeapps.live.com/document/export/pdf HttpCode=BadRequest cert=subject:;thumbprint: ResponseHeaders=X-ErrorCode: PPTCannotPrint\r\nX-ErrorCategory: BadRequest\r\nX-IsRetriable: False\r\nX-FileDownloadTimeInMs: 718.7589\r\nX-ClientCorrelationId: 8bec156c-9d05-4422-a35f-d85f26189bfb\r\nX-ServiceCorrelationId: 8bec156c-9d05-4422-a35f-d85f26189bfb\r\nX-ConversionTimeInMs: 140.6285\r\nCache-Control: private\r\nDate: Sat, 12 Sep 2020 18:28:17 GMT\r\nServer: Microsoft-IIS/10.0\r\nX-AspNet-Version: 4.0.30319\r\nX-Powered-By: ASP.NET\r\n",
      "innererror": {
        "code": "invalidFileFormat"
      }
    }
}

这是一个已知问题,还有什么解决方法吗?

4

0 回答 0