PDF Conversion on Onedrive and SharePoint

Copper Contributor

Hello All, 

 

I am using the graph api to manage our company's sharepoint. The pdf conversion seem to have stopped working and I am now receiving this error. 

 

{"error":{\r\n  "code": "generalException",\r\n  "message": "Error from Office Service. Url=https://excelcs.officeapps.live.com/document/export/pdf HttpCode=NotFound cert=subject:;thumbprint: ResponseHeaders=Connection: close\\r\\nDate: Wed, 15 Sep 2021 07:11:01 GMT\\r\\nServer: Microsoft-IIS/10.0\\r\\nX-Powered-By: ASP.NET\\r\\n",\r\n  "innererror": {\r\n    "code": "OfficeConversion_ConverterInternal"\r\n  }\r\n}}'

 

I have rewrote the backend many times trying to see if it is our issue on the backend, but I have no issues getting the content. The issue only comes up when I am trying to convert any document or excel to pdf. If there is anything required from me, please let me know. I am simply using Python with Django. I am using the request module and sending a get request.

 

This is the URL, I took out the item id. 

 

1 Reply

@ppham888 

I have to use a convert file (xlsx to pdf) in my flow for 2 years, but found error in yesterday that show error text like this post. Need help to fix it too!!

====================================================

Error from Office Service. Url=https://excelcs.officeapps.live.com/document/export/pdf HttpCode=NotFound cert=subject:;thumbprint: ResponseHeaders=Connection: close
Date: Thu, 25 Apr 2024 06:57:55 GMT
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET

====================================================