Graph Api Fails to convert docx to pdf if file is in minor version

pierluigi l 1 Reputation point

I have a problem, if the file is in minor version the conversion to pdf does not work....

this is the error i get:

Status Code: BadRequest
Microsoft.Graph.ServiceException: Code: generalException
Message: Error from Office Service. Url= HttpCode=BadRequest cert=subject:;thumbprint: ResponseHeaders=X-ErrorCode: WordFileDownloadFailed
X-ClientCorrelationId: 82e95354-8269-4451-8eae-23909fbb1991
X-ServiceCorrelationId: 82e95354-8269-4451-8eae-23909fbb1991
X-ErrorCategory: BadRequest
X-IsRetriable: False
Cache-Control: private
Date: Thu, 13 Oct 2022 06:35:06 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET

Inner error:
Code: OfficeConversion_RemoteDownload

below are my library settings:



missing some settings ??


Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,824 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shivam Dhiman 5,946 Reputation points

    Hi @pierluigi l

    I tried to replicate this scenario, but it is working as expected. I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from or .

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments