web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / File Not Converted to PDF
Power Automate
Unanswered

File Not Converted to PDF

(1) ShareShare
ReportReport
Posted on by

Hi All

I'm running into an issue that I can't explain.

Here is what I'm trying to do.

I've a MS Word Template, that I'm filling it based on input that is in SharePoint list. This step goes fine without issue.

After that, I take the MS Word file generated and then I want to convert to PDF. I tried two actions for that:

1) OneDrive - Convert file

2) Convert Word Document to PDF

When I check in SharePoint Document Library and the OneDrive, I find the file properly created. I can open and view it.

But the convert actions are not working!

NOTE: The flow was working fine till last week and I'm almost certain no changes happened to it.

 

Both failed and the error messages I get

OneDrive - Convert File Error Message: "

{
  "status"400,
  "message""The file id 'TempFRPRivate2.docx' is not valid.",
  "source""api.connectorp.svc.ms"
}

"

 

Convert Word Document to PDF Error Message "The selected file doesn't exist, please select a valid file and drive.
clientRequestId: 5c7d1136-63d3-4bcd-85fd-b9d33cf146d"

 

Other details:

"status"404,
  "message""The selected file doesn't exist, please select a valid file and drive.\r\nclientRequestId: 5c7d1136-63d3-4bcd-85fd-b9d33cf146d1",
  "error": {
    "message""The selected file doesn't exist, please select a valid file and drive."
  },
  "source""wordonlinebusiness-we.azconn-we-002.p.azurewebsites.net"
}

 

 

 

yjamous_1-1694830520261.png

 

yjamous_0-1694830277069.png

 

"

Categories:
I have the same question (0)
  • trice602 Profile Picture
    15,331 Super User 2025 Season 2 on at

    Hi @Anonymous ,

     

    If this was working fine last week, the only thing I would add is a 120 second delay before your convert file action.  Sometimes small delays solve a lot! 

     

     

  • Community Power Platform Member Profile Picture
    on at

    I tried 1 minute wait time but same thing. I'll try 2 minutes.

     

  • trice602 Profile Picture
    15,331 Super User 2025 Season 2 on at

    Understood.  I really do think this is a sync issue.  Sometimes I use 3 minutes.  Let me know...

     

     

  • Community Power Platform Member Profile Picture
    on at

    I gave it 5 minutes, still i'm getting error message:

     

     

    Conversion of this file to PDF is not supported. (cannotOpenFile / Error from Office Service. Url=https://wordcs.officeapps.live.com/document/export/pdf HttpCode=UnsupportedMediaType cert=subject:;thumbprint: ResponseHeaders=X-ErrorCode: WordAccessViolation)

     

     

    yjamous_0-1694834937902.png

     

  • trice602 Profile Picture
    15,331 Super User 2025 Season 2 on at

    Sorry, I wish I could be more help here.  A quick search shows there's a lot of issues and different results with this action.

     

     

  • Community Power Platform Member Profile Picture
    on at

    I did further investigation and testing.

    When I select the file explicitly in the action (Convert file), the action works.

    When I use Dynamic content in the action (file ID), the action fails.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard