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 / Converting Word Docume...
Power Automate
Unanswered

Converting Word Document to PDF actions fails to find the file

(0) ShareShare
ReportReport
Posted on by

Hi all, 

 

I am trying to build a flow that converts a Word document to PDF and I am using SharePoint to store created files. Flow, I've created, populates the word template and creates a file in the SharePoint library. However, when the action Convert Word Document to PDF is activated I get the following error:

 

The selected file doesn't exist, please select a valid file and drive.
clientRequestId: ##############

 

My flow:

mantastg08876_0-1614173635155.png mantastg08876_1-1614173783644.png

 

 I am not sure why does the error say that the selected file does not exist if it was successfully created in the previous step. 

Perhaps someone could advise what to do?

Categories:
I have the same question (7)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Check path property Convert word document to PDF action is correct or not?

     

    Please see below

     

    Solved: Convert Sharepoint Word Document to PDF - Power Platform Community (microsoft.com)

  • Community Power Platform Member Profile Picture
    on at

    hi @abm , 

     

    many thanks for the reply. I have tried the method suggested in your link, but still, get the error message about accessing the file. 


    I have tried checking the path by copy-pasting the location's link and file's link in the browser. The result is that the file downloaded to my pc.  Perhaps I should create files in the One Drive because SharePoint has some limitations?

    mantastg08876_0-1614179084704.png

     

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    I tried this and worked for me.

     

    image.png

     

    How big is this file? Could you please add a delay action step and see whether it works.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    @abm , thanks. Interesting.. Will try to add a delay. The generated word document is 3.57MB

  • Community Power Platform Member Profile Picture
    on at

    @abm, I have tested it with 1,3, 5min delays. Still get an error The selected file doesn't exist, please select a valid file and drive. If the file size is >3MB perhaps the delay should be longer? How big is your file?

     

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Can you see the file in SharePoint? Try getting the SharePoint file content using path (Action Step) and pass on to Word PDF connector and see whether it works or not?

     

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    @abm , yes the word document is created as expected and it is saved in the sharepoint library. 

     

    Tried using the path action, but get the error: The provided workflow action input is not valid.

    mantastg08876_0-1614191294114.png

     

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    So what you need to do is under the File property click the path and manually select the file name. Then select the dynamic name which is the Display name from SharePoint. Remove the filename which was selected earlier.

     

    image.png

  • Community Power Platform Member Profile Picture
    on at

    thanks a heap! Amazing. Followed you on all social media 😄

    https://www.youtube.com/channel/UC3Hscto0sm7Oh3u08o0RDzg/videos

    https://twitter.com/mydevexperience

    https://mydevexperience.wordpress.com/

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard